Package Exports
- @emdgroup/tapir
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@emdgroup/tapir) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
tapir
Generate TypeScript assertions and type guards from OpenAPI specs
Synopsis
npm install --global @emdgroup/tapir
tapir openapi.yml > types.tsSupported Input Validation
- Core Types:
boolean,string,number,integerenum
- Objects:
requiredallOfandoneOfadditionalPropertieswith a boolean
- Arrays:
items
Not supported
- Any Type
- Core Types:
boolean,string,number,integerminLengthmaxLengthminimummaximumexclusiveMinimumexclusiveMaximummultipleOfformatnotnullablepatternreadOnlywriteOnly
- Objects:
additionalPropertieswith a schemaminPropertiesmaxPropertiesanyOfxml
- Arrays:
minItemsmaxItemsuniqueItems