6016-oas3.yaml 645 B

1234567891011121314151617181920212223242526272829303132
  1. openapi: 3.0.2
  2. info:
  3. title: OAS 3.0 sample with entries as property name
  4. version: 0.1.0
  5. paths:
  6. /test/:
  7. get:
  8. summary: Test
  9. operationId: test_test__get
  10. responses:
  11. '200':
  12. description: Successful Response
  13. content:
  14. application/json:
  15. schema:
  16. $ref: '#/components/schemas/Testmodel'
  17. components:
  18. schemas:
  19. Testmodel:
  20. title: Testmodel
  21. required:
  22. - name
  23. - entries
  24. type: object
  25. properties:
  26. name:
  27. title: Name
  28. type: string
  29. entries:
  30. title: Entries
  31. type: integer