Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. swagger: "2.0"
  2. info:
  3. version: "2.0"
  4. title: Web API
  5. # during dev, should point to your local machine
  6. host: url.com
  7. # basePath prefixes all resource paths
  8. basePath: /v2.0
  9. #
  10. schemes:
  11. # tip: remove http to make production-grade
  12. - http
  13. - https
  14. # format of bodies a client can send (Content-Type)
  15. securityDefinitions:
  16. Bearer:
  17. type: apiKey
  18. name: Authorization
  19. in: header
  20. consumes:
  21. - application/json
  22. # format of the responses to the client (Accepts)
  23. produces:
  24. - application/json
  25. paths:
  26. /api/Users:
  27. # binds a127 app logic to a route
  28. # x-swagger-router-controller: hello_world
  29. get:
  30. security:
  31. - Bearer: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement