mirror of
https://github.com/LukeHagar/openapi-types.git
synced 2025-12-06 04:20:29 +00:00
66 lines
1.1 KiB
TypeScript
66 lines
1.1 KiB
TypeScript
// Centralized exports for OpenAPI 3.0 types
|
|
// This file serves as the main entry point for all OpenAPI 3.0 type definitions
|
|
|
|
export type {
|
|
// Components types
|
|
Components,
|
|
} from "./components";
|
|
|
|
// Re-export all types for convenience
|
|
export type {
|
|
// Core types
|
|
Extension,
|
|
} from "./extensions";
|
|
export type { ExternalDocumentation } from "./externalDocs";
|
|
export type {
|
|
Contact,
|
|
// Info types
|
|
Info,
|
|
License,
|
|
} from "./info";
|
|
|
|
export type {
|
|
Callback,
|
|
Encoding,
|
|
Example,
|
|
Header,
|
|
Link,
|
|
MediaType,
|
|
Operation,
|
|
Parameter,
|
|
PathItemObject,
|
|
// Path types
|
|
Paths,
|
|
RequestBody,
|
|
Response,
|
|
} from "./paths";
|
|
export type { Reference } from "./references";
|
|
|
|
export type {
|
|
Discriminator,
|
|
// Schema types
|
|
Schema,
|
|
} from "./schema";
|
|
export type {
|
|
OAuthFlow,
|
|
OAuthFlows,
|
|
SecurityRequirement,
|
|
// Security types
|
|
SecurityScheme,
|
|
} from "./security";
|
|
export type {
|
|
// Server types
|
|
Server,
|
|
ServerVariable,
|
|
} from "./servers";
|
|
// Export the main specification type
|
|
export type { Specification } from "./spec";
|
|
export type {
|
|
// Utility types
|
|
Tag,
|
|
} from "./tags";
|
|
export type {
|
|
// XML types
|
|
XML,
|
|
} from "./xml";
|