swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

RawRouteInfo seems to have no typed deprecated field

Open ierehon1905 opened this issue 3 years ago • 0 comments

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;
};

ierehon1905 avatar Nov 26 '21 23:11 ierehon1905