acacode / acacode/swagger-typescript-api

Some descriptions failed to parse

Open
#1,433 13 comments 0 reactions 1 assignee Claimed by @js2me View on GitHub
bug
Dominant language
TypeScript
Stars
4.1k
Forks
436
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.