acacode / acacode/swagger-typescript-api

RawRouteInfo seems to have no typed deprecated field

Aperta
#321 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement good first issue
Lingua principale
TypeScript
Stelle
4.1k
Fork
436
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.