acacode / acacode/swagger-typescript-api
RawRouteInfo seems to have no typed deprecated field
- Langage dominant
- TypeScript
- Étoiles
- 4.1k
- Forks
- 436
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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](https://github.com/acacode/swagger-typescript-api/blob/0cbcbba33273d9ff309852e98b173821c8af6e44/index.d.ts#L240-L253).
```typescript
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;
};
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.