path_item_object.swagger.yaml 636 B

1234567891011121314151617181920212223242526272829303132
  1. swagger: "2.0"
  2. info:
  3. title: your/service/v1/your_service.proto
  4. version: version not set
  5. tags:
  6. - name: YourService
  7. consumes:
  8. - application/json
  9. produces:
  10. - application/json
  11. paths:
  12. /api/echo:
  13. post:
  14. operationId: YourService_Echo
  15. responses:
  16. "200":
  17. description: A successful response.
  18. schema:
  19. $ref: '#/definitions/v1StringMessage'
  20. parameters:
  21. - name: value
  22. in: query
  23. required: false
  24. type: string
  25. tags:
  26. - YourService
  27. definitions:
  28. v1StringMessage:
  29. type: object
  30. properties:
  31. value:
  32. type: string