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

Fix for path parameters parsing #2112

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Emreu
Copy link

@Emreu Emreu commented Nov 19, 2019

Fixed parameters parsing for swagger:route annotation.
Previously invalid specification were generated due to parameters defined for path were setting "schema" field (only "type" field should be set). Now "schema" is dropped for in:path parameters.

Signed-off-by: Anton Kryukov <kryukov@selectel.ru>
@@ -1,4 +1,4 @@
module github.com/go-swagger/go-swagger
module github.com/emreu/go-swagger
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably by accident, you pushed go.mod from your fork

@fredbi fredbi added the generate spec Related to spec generation from code label Feb 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generate spec Related to spec generation from code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants