swagger-typescript-api
swagger-typescript-api copied to clipboard
RawRouteInfo seems to have no typed deprecated field
Hi 👋, thank you for your super cool library it helped ma a lot
I noticed that field deprecated is used in code but I could not find it in types here.
export type RawRouteInfo = {
operationId: string;
method: string;
route: string;
moduleName: string;
responsesTypes: RequestResponseInfo[];
description?: string;
tags?: string[];
summary?: string;
responses?: import("swagger-schema-official").Spec["responses"];
produces?: string[];
requestBody?: object;
consumes?: string[];
// Should add
deprecated?: boolean;
};