Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: ApiExtension Decorator - solves #195 #534

Conversation

tomchinery
Copy link
Contributor

This pull request is a WIP (work in progress) to help indicate that I am actively working on this issue so contributors are not doing duplicate work.

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #195

What is the new behavior?

There is a new method decorator that you can use to add an OpenAPI Extension to a path:

@ApiExtension(<extensionName>, <extensionPropertyObject>)
@ApiExtension('x-foo', { hello: 'world' })

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@tomchinery tomchinery changed the title WIP: ApiExtension Decorator WIP: ApiExtension Decorator - solves #195 Jan 30, 2020
@tomchinery tomchinery closed this Jan 30, 2020
@lock
Copy link

lock bot commented May 5, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
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.

None yet

1 participant