Open galadril opened 1 year ago
good one! I'm currently working on changing the API response from the OK / NOK that it is now to a reply JSON based with some more info. This could be a change to accompanying that nicely.
This is a sample on how we could add a test api link on the api documentation page. And load swaggerUI with the openapi spec file of the api so people have a api developer portal https://github.com/arjenhiemstra/ithowifi/pull/268
Describe the bug It would be really cool to add an openapi specification to document all the possible options of your web api.
Sample
Expected behaviour The API page would be an SwaggerUI api describing the API and allowing users to directly test the API from the portal.
Screenshots