Interface ComponentsObject interface ComponentsObject { callbacks ?: Record < string , ReferenceObject | CallbackObject > ; examples ?: Record < string , ExampleObject | ReferenceObject > ; headers ?: Record < string , ReferenceObject | HeaderObject > ; links ?: Record < string , ReferenceObject | AnyLinkObject > ; parameters ?: Record < string , AnyParameterObject | ReferenceObject > ; pathItems ?: Record < string , PathItemObject | ReferenceObject > ; requestBodies ?: Record < string , RequestBodyObject | ReferenceObject > ; responses ?: Record < string , ReferenceObject | ResponseObject > ; schemas ?: Record < string , JSONSchema7Definition > ; securitySchemes ?: Record < string , ReferenceObject | AnySecuritySchemeObject > ; } Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1268 Properties Optional
callbacks Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1313 Optional
examples Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1288 Optional
headers Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1298 Optional
links Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1308 Optional
parameters Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1283 Optional
path Items Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1318 Optional
request Bodies Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1293 Optional
responses Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1278 Optional
schemas Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1273 Optional
security Schemes Defined in node_modules/.pnpm/@[email protected] /node_modules/@moontai0724/openapi-types/dist/index.d.ts:1303
Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
All the fixed fields declared above are objects that MUST use keys that match the regular expression:
^[a-zA-Z0-9\.\-_]+$
.See
https://spec.openapis.org/oas/latest.html#components-object