ReactJS-Spring-Boot-Full-Stack-App icon indicating copy to clipboard operation
ReactJS-Spring-Boot-Full-Stack-App copied to clipboard

a few issues in the swagger doc

Open mauravan opened this issue 3 years ago • 1 comments

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

mauravan avatar Apr 27 '22 19:04 mauravan

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

purshink avatar Apr 28 '22 10:04 purshink