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

a few issues in the swagger doc #14

Open
mauravan opened this issue Apr 27, 2022 · 1 comment
Open

a few issues in the swagger doc #14

mauravan opened this issue Apr 27, 2022 · 1 comment

Comments

@mauravan
Copy link

image
only one is needed i guess. Also this would probably just be POST /users or POST /user would be able to handle both list and single

image
There is an approach for this using queryParameters. The reason behind this is, that you don't want to create a new endpoint for every possible attribute the pet might have. instead you would do this: /GET /pet?status=alive&tag=pettag

@purshink
Copy link
Owner

hey, makes sense but that's actually not my api, for some reason after installing docker, it started showing default swagger api. eventhough I had disabled it before. still trying to figure that out, but in the meanwhile you can enter this url in the explore box and access my api:

/v3/api-docs

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

No branches or pull requests

2 participants