acacode / acacode/swagger-typescript-api

Some descriptions failed to parse

未关闭
#1,433 13 条评论 0 个 reaction 已指派 1 人 已被 @js2me 认领 在 GitHub 查看
bug
主要语言
TypeScript
星标
4.1k
派生
436
PR 合并指标
30 天内没有已合并 PR

描述

# 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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。