constants.d.ts 584 B

1234567891011121314151617181920212223242526
  1. /**
  2. * OpenAPI version.
  3. */
  4. export declare const OPENAPI_VERSION: '3.1.0';
  5. /**
  6. * Components segment.
  7. *
  8. * "#/components/{segment}/{name}"
  9. * ^^^
  10. */
  11. export declare const OAComponentsSegment: {
  12. SCHEMAS: 'schemas';
  13. RESPONSES: 'responses';
  14. PARAMETERS: 'parameters';
  15. EXAMPLES: 'examples';
  16. REQUEST_BODIES: 'requestBodies';
  17. HEADERS: 'headers';
  18. SECURITY_SCHEMES: 'securitySchemes';
  19. LINKS: 'links';
  20. CALLBACKS: 'callbacks';
  21. PATH_ITEMS: 'pathItems';
  22. };
  23. export type OAComponentsSegment =
  24. (typeof OAComponentsSegment)[keyof typeof OAComponentsSegment];