Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

Comments

Allow to set a custom attributes dict on Field object and Link#136

Closed
loispostula wants to merge 1 commit intocore-api:masterfrom
loispostula:add_custom_attributes
Closed

Allow to set a custom attributes dict on Field object and Link#136
loispostula wants to merge 1 commit intocore-api:masterfrom
loispostula:add_custom_attributes

Conversation

@loispostula
Copy link

In some case, we wan't to be able to set some custom attributes on a field or a link, for example if we wan't to use swagger and set the x-code-samples value on a path.

This has already been ask in an issue: #113

This should not have any impact on the corejson or any other codec that shouldn't want to handle those custom_attributes

@lovelydinosaur
Copy link
Contributor

We're building out better support for OpenAPI with 3.0, which will address some of this.
We might choose to support extensions x-... in the future, but not something I'd like to have just yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants