6442.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. openapi: 3.0.1
  2. info:
  3. title: Example Swagger
  4. version: '1.0'
  5. servers:
  6. - url: /api/v1
  7. paths:
  8. /xmlTest:
  9. get:
  10. summary: subscribes to a siri vm stream
  11. operationId: xmlTest
  12. parameters: []
  13. responses:
  14. '200':
  15. description: Simple example
  16. content:
  17. application/xml:
  18. schema:
  19. type: object
  20. xml:
  21. name: root
  22. properties:
  23. x:
  24. type: string
  25. example:
  26. x: what the f
  27. examples:
  28. x2:
  29. summary: "xml not rendered via 'examples' keyword"
  30. value:
  31. x: should be xml
  32. /xmlTest2:
  33. get:
  34. summary: subscribes to a siri vm stream
  35. operationId: xmlTest2
  36. parameters: []
  37. responses:
  38. '200':
  39. description: Simple example
  40. content:
  41. application/xml:
  42. schema:
  43. type: object
  44. xml:
  45. name: root
  46. properties:
  47. x:
  48. type: string
  49. example:
  50. x: what the f
  51. example:
  52. x: should be xml