How to specify content type in security definition
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2021
08:12 AM
07-12-2021
08:12 AM
How to specify content type in security definition
I am trying to set up swagger UI and the authentication portion. I am using oauth2 and the password flow for the security definition. When I send a request I see that the content type is application/x-www-form-urlencoded. Is there a way to configure this? I need it to be application/json. Would I be able to do this in the spec or through the swagger ui react component that I'm using?
Labels:
- Labels:
-
Swagger UI
0 REPLIES 0
