acacode / acacode/swagger-typescript-api

RawRouteInfo seems to have no typed deprecated field

Đang mở
#321 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement good first issue
Ngôn ngữ chính
TypeScript
Star
4.1k
Fork
436
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.