Swagger don't handle multiple examples #41
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
help wanted
Extra attention is needed
Bug description
Swagger do not handle multiple exemples.
To Reproduce
and add another server to boaviztapi > routers >openapi_doc > examples.py
You will be able to change the example in http://localhost:5000/docs#/server/server_impact_by_config_v1_server_server_impact_by_config_description_post
but the content of body won't change.
Expected behavior
When another example is selected, the body should change accordingly.
Additional context
FastAPI issue on the topic :
fastapi/fastapi#822
The text was updated successfully, but these errors were encountered: