Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. "securityDefinitions": {
  2. "UserSecurity": {
  3. "type": "apiKey",
  4. "in": "header",
  5. "name": "apikey"
  6. }
  7. },
  8. "security": [{
  9. "UserSecurity": []
  10. }]
  11.  
  12. # Swagger settings
  13. SWAGGER_SETTINGS = {
  14. 'SECURITY_DEFINITIONS': {
  15. 'user_security': {
  16. 'type': 'apiKey',
  17. 'in': 'header',
  18. 'name': 'apikey'
  19. }
  20. },
  21. 'security': [{
  22. 'user_security': []
  23. }]
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement