How to use "Authorize" in Swagger online editor?

Viewed 852

I am trying to use the swagger online editor http://editor.swagger.io/#/

There is a button called Authorize that opens a dialog where you can provide method of authorization. There are two options

The first is for OAuth2 and the second is for API-Key.

I can't figure out how to use these.

  • For OAuth2 authorization, a client ID is required.How does one get a client id?
  • For api-key authorization, the editor provides a key called special-key. When I make an API call even without special-key in postman, the API returns a valid response. Is this because the implementation work without keys too?
0 Answers
Related