linuxserver / budge

GNU General Public License v3.0
636 stars 18 forks source link

Swagger Docs #34

Closed acolombo11 closed 2 years ago

acolombo11 commented 2 years ago

Hey!

I'd like to build a mobile app using budge as a backend, I've noticed swagger should generate the documentation at /docs, but if I try to access it I can only see the react frontend and cannot access the swagger documentation.

Any tips?

alex-phillips commented 2 years ago

@acolombo25 Try accessing it with the path /api/docs/. Since it is proxied on the backend, all requests to the API itself (including docs) should have the /api prefix.