internal.RequestBodyToJsonSchema
Home > @backstage/backend-openapi-utils
> internal
> RequestBodyToJsonSchema
Transform the OpenAPI request body schema to a typesafe JSON schema.
Signature:
export type RequestBodyToJsonSchema<Doc extends RequiredDoc, Path extends DocPath<Doc>, Method extends DocPathMethod<Doc, Path>> = ToTypeSafe<RequestBodySchema<Doc, Path, Method>>;
References: RequiredDoc, DocPath, DocPathMethod, ToTypeSafe, RequestBodySchema