ReactJS-Spring-Boot-Full-Stack-App
ReactJS-Spring-Boot-Full-Stack-App copied to clipboard
a few issues in the swagger doc
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
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
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