...
Then open index.html
and import openapi.json
.
With Swagger Editor, you You can then make edits to the OpenAPI document in the left panel (in YAML format) and visualize the UI in the right panel.
...
When making an API call, use -H 'Authorization: Token 123abc'
, replacing 123abc
with your token.
If your you are using Swagger UI, click on the ‘Authorize’ button and use value Token 123abc
, replacing 123abc
with your token.
...