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

Add support for custom params on the OPERATION OBJECT #45

Merged
merged 1 commit into from Aug 29, 2015
Merged

Add support for custom params on the OPERATION OBJECT #45

merged 1 commit into from Aug 29, 2015

Conversation

mattapperson
Copy link
Contributor

The swagger 2.0 spec supports custom params on the operation object when the param starts with x-
http://swagger.io/specification/#operationObject

This PR implements this fictionality, maintains 100% code coverage and implements the needed unit test.

The API This adds is on the happy rout config, under the hapi-swaggered namespace, we now have a custom param that allows any key name that starts with x- and has a string value.

z0mt3c added a commit that referenced this pull request Aug 29, 2015
Add support for custom params on the OPERATION OBJECT
@z0mt3c z0mt3c merged commit 1bdda1f into z0mt3c:master Aug 29, 2015
@z0mt3c
Copy link
Owner

z0mt3c commented Aug 29, 2015

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants