Skip to content

Combine findPetsBy(Status/Tag) into general GET /pets - #52

Open
nrktkt wants to merge 1 commit into
swagger-api:masterfrom
nrktkt:general-purpose-query
Open

Combine findPetsBy(Status/Tag) into general GET /pets#52
nrktkt wants to merge 1 commit into
swagger-api:masterfrom
nrktkt:general-purpose-query

Conversation

@nrktkt

@nrktkt nrktkt commented Feb 23, 2021

Copy link
Copy Markdown

Combined findPetsBy(Status/Tag) into just findPets.
One path with two query parameters is simpler than two paths with their own query parameters. Also getting a list of pets is a typical operation an API consumer would expect to find at GET /pets.

Also changed explode from true to false for the query parameters. This is the same as #47.

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.

1 participant