Infer the TypeScript type of an OpenAPI operation's request body.
ContentType selects which media type's schema to infer; defaults
to DEFAULT_OPENAPI_CONTENT_TYPE and falls back to the first
declared content type when the default is absent (see
PickContentType).
Swagger 2.0 documents are not normalised at the type level. When the
input is Swagger 2.0, this returns __SchemaInferenceFellBack so
callers can detect the fallback explicitly via a conditional type.
Infer the TypeScript type of an OpenAPI operation's request body.
ContentTypeselects which media type's schema to infer; defaults to DEFAULT_OPENAPI_CONTENT_TYPE and falls back to the first declared content type when the default is absent (see PickContentType).Swagger 2.0 documents are not normalised at the type level. When the input is Swagger 2.0, this returns
__SchemaInferenceFellBackso callers can detect the fallback explicitly via a conditional type.