-
Notifications
You must be signed in to change notification settings - Fork 472
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 the the failing spec for the issue which related to API with :path versioning #216
add the the failing spec for the issue which related to API with :path versioning #216
Conversation
…h versioning so when you specify api "format" and use "path" versioning then "root" endpoints disapper from swagger docs related to grape >= 0.10.0
I checked this issue, seems it is related to
route matching with grape 0.10.0:
so the regex fix from https://github.com/tim-vandecasteele/grape-swagger/issues/192 seems legit for me, I am going to apply it :) |
…itly declared in the resource, e.g., `format :json`. TODO: Add spec(s).
[ci skip]
@dblock take a look |
@@ -6,6 +7,11 @@ | |||
* [#196](https://github.com/tim-vandecasteele/grape-swagger/pull/196): If `:type` is omitted, see if it's available in `:using` - [@jhollinger](https://github.com/jhollinger). | |||
* [#200](https://github.com/tim-vandecasteele/grape-swagger/pull/200): Treat `type: Symbol` as string form parameter - [@ypresto](https://github.com/ypresto). | |||
* [#207](https://github.com/tim-vandecasteele/grape-swagger/pull/207): Support grape `mutually_exclusive` - [@mintuhouse](https://github.com/mintuhouse). | |||
|
|||
#### Fixes |
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.
If you're going to do this, move fixes from above down here.
This is good, amend CHANGELOG as above and it's good to merge. Thanks for writing the tests. |
I realize I am being particularly annoying with this CHANGELOG thing, so I did it myself, tim-vandecasteele@c9fb720. Thanks @minch for the fix and @dm1try for the specs! |
@dblock looks good) Thx! |
👍 |
so when you specify api "format" and use "path" versioning then "root" endpoints disappear from swagger docs
related to grape >= 0.10.0
Run spec: