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

Two fixes for OpenAPI 2.0 version of the API (take 2). #192

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

Conversation

zhirsch
Copy link

@zhirsch zhirsch commented Oct 1, 2017

  1. The "currentpage" parameter in some methods should be in the query, not in the path (fixes Multiple GroupV2 Query Problems. #124).

  2. The "components" parameter in some methods cannot use a $ref to specify the schema. Instead, specify its type as an integer. OpenAPI 3.0 allows $ref, apparently (fixes $ref not allowed in array-type query parameters in OpenAPI 2.0 spec #190).

These fixes are necessary to generate a client library with https://github.com/go-swagger/go-swagger.

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.

$ref not allowed in array-type query parameters in OpenAPI 2.0 spec Multiple GroupV2 Query Problems.
1 participant