acacode / acacode/swagger-typescript-api

Some descriptions failed to parse

Offen
#1,433 13 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @js2me Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
4.1k
Forks
436
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.