Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swagger: "2.0"
- info:
- version: "2.0"
- title: Web API
- # during dev, should point to your local machine
- host: url.com
- # basePath prefixes all resource paths
- basePath: /v2.0
- #
- schemes:
- # tip: remove http to make production-grade
- - http
- - https
- # format of bodies a client can send (Content-Type)
- securityDefinitions:
- Bearer:
- type: apiKey
- name: Authorization
- in: header
- consumes:
- - application/json
- # format of the responses to the client (Accepts)
- produces:
- - application/json
- paths:
- /api/Users:
- # binds a127 app logic to a route
- # x-swagger-router-controller: hello_world
- get:
- security:
- - Bearer: []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement