How to add accept header versioning config to swagger ui #9064
Replies: 1 comment
-
my question seems to be answered in this discussion: #7929 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i am using accept header versioning in my project and i am using the default swagger config (https://www.django-rest-framework.org/api-guide/schemas/#generating-a-dynamic-schema-with-schemaview) with (https://www.django-rest-framework.org/topics/documenting-your-api/#a-minimal-example-with-swagger-ui).
How can i configure the swagger-ui to show an "authorize" Button (the swagger-ui shows only pulic endpoints at the moment)?
And how do i include my api-verison in an accept header to test the api via swagger-ui?
url configuration:
settings config
Beta Was this translation helpful? Give feedback.
All reactions