internal
Home > @backstage/backend-openapi-utils
> internal
Interfaces
Interface |
Description |
---|---|
Superset of the express router path matcher that enforces typed request and response bodies. | |
Superset of the express router path matcher that enforces typed request and response bodies. | |
Type Aliases
Type Alias |
Description |
---|---|
All paths for a given doc, | |
Typed express request handler. | |
Typed express error handler / request handler union type. | |
Typed express request handler. | |
Typed express error handler / request handler union type. | |
Helper to convert from string to number, used to index arrays and pull out just the indices in the array. | |
From https://github.com/microsoft/TypeScript/issues/13923#issuecomment-653675557, allows us to convert from | |
Validate a string against OpenAPI path template, https://spec.openapis.org/oas/v3.1.0#path-templating-matching. | |
Transform the OpenAPI request body schema to a typesafe JSON schema. | |
Basic OpenAPI spec with paths and components properties enforced. | |
Transform the OpenAPI request body schema to a typesafe JSON schema. | |
Extract path as specified in OpenAPI | |
From https://stackoverflow.com/questions/71393738/typescript-intersection-not-union-type-from-json-schema StackOverflow says not to do this, but union types aren't possible any other way. | |
Get value types of |