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