-
-
Notifications
You must be signed in to change notification settings - Fork 559
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
Support swagger extensions #779
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for putting this together, this looks great! Just add the missing comments so the linter is happy. Also it would be great if there were some tests. Thank you!
} | ||
|
||
_Info Info |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
return merged, nil | ||
} | ||
|
||
func (i Info) MarshalJSON() ([]byte, error) { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
17b6142
to
4f91870
Compare
Oops, I added the comments but travis tells me another error... |
Pro tip: run |
Thanks. I forget to |
1f4526a
to
41eddae
Compare
Looks great, thank you for the awesome PR! Is it ready for merge? (LGTM) |
ba57024
to
9b6a2bb
Compare
Thank you for your waiting. It is ready. |
Do you think you could also send a PR against the v1 branch? this is a backwards compatible change and it would be great if people on the v1 branch could benefit from it too :) |
It's OK. But this PR is based on #775 so I will send that to v1 first. |
Perfect, thanks again! |
This pull request extends
apidsl.Metadata()
to support Swagger Extensions.Now it includes only core implementations so I will add tests and comments for godoc.
https://gophers.slack.com/archives/goa/p1473747445000640