Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.51 KB | None | 0 0
  1. swagger: "2.0"
  2.  
  3. info:
  4.   title: "Airport Codes"
  5.   description: "Get the name of an airport from its three-letter IATA code."
  6.   version: "1.0.0"
  7.  
  8. host: "sac-airports.appspot.com"
  9. basePath: "/api/v1"
  10. schemes:
  11.  - "https"
  12. paths:
  13.    /airportName/{iata_code}
  14.       parameters:
  15.           - name: iata_code
  16.           in: path
  17.           required: true
  18.           description: 'IATA code of the airport'
  19.           type: string
  20.           minLegth: 3
  21.           maxLength: 3
  22.       get:
  23.         description: "Get t
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement