acacode / acacode/swagger-typescript-api

--extract-request-params generate Only 200 ResponseBody

Đang mở
#366 0 bình luận 0 reaction 1 người được giao Được @js2me nhận Xem trên GitHub
bug
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ả

```diff
/**
* @description for given key.
* @tags Accounts
* @name StorageDetail
* @summary Retrieve account storage value
* @request GET:/accounts/{address}/storage/{key}
* @response `200` `Storage` OK
* @response `400` `ValidationError` Error
*/
export namespace StorageDetail {
export type RequestParams = { address: string; key: string };
export type RequestQuery = { revision?: string };
export type RequestBody = never;
export type RequestHeaders = {};
export type ResponseBody = Storage;
+ export type ResponseError = ValidationError;
}
}

```

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.