Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. swagger: '2.0'
  2. info:
  3. title: Source Map Test
  4. description: API description
  5. host: api.example.com
  6. paths:
  7. '/test/{id}':
  8. post:
  9. summary: Test post
  10. description: Test post description
  11. parameters:
  12. - name: id
  13. in: path
  14. description: Path argument
  15. required: true
  16. schema:
  17. type: string
  18. responses:
  19. 200:
  20. $ref: '#/definitions/Response200'
  21. definitions:
  22. Response200:
  23. description: Successful response
  24. headers:
  25. 'X-My-Header':
  26. description: My custom header
  27. type: string
  28. examples:
  29. application/json:
  30. status: ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement