acacode / acacode/swagger-typescript-api

Some descriptions failed to parse

Đang mở
#1,433 13 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ả

# Description

Today i tried updating from `13.2.8 -> 13.2.13`.

I have the following problems:

## 1.

I have `extractRequestParams` set. I have one path param. Before my first parameter is:

```ts
myProp: string,
```

After it is:

```ts
{ myProp, ...query }: GetFormularParams,
```

## 2

Some descriptions failed to parse:

**YAMLParseError: Missing closing "quote at line 45, column 85:**
Happens for multiline descriptions like:

```yaml
description: "Some context of line 1:\
\ Some context of line 2"
```

This error doesn't occur before.

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.