ergo / pyramid_apispec

Pyramid plugin for openapi spec generation (using ApiSpec)
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

Redoc UI #20

Closed arfaoui47 closed 3 years ago

arfaoui47 commented 3 years ago

Is it possible to change the UI of default swagger and use Redoc?

ergo commented 3 years ago

You can swap the view definition when calling config.pyramid_apispec_add_explorer, here is the list of options https://github.com/ergo/pyramid_apispec/blob/master/pyramid_apispec/views.py#L17

ergo commented 3 years ago

You can also just provide alternative view of your own. I'm also open to include another directive for redoc.