acacode / acacode/swagger-typescript-api

Rich text description cause error

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

Here's the rich text in description:
```
"description": "\u4f8b\uff1a<span class="colour" style="color: rgb(51, 51, 51);">**\/3.0\/h5FileService\/download\/123\/fdjc34ef**<\/span>",

```
It will cause error like this:
```
SyntaxError: ';' expected. (38:104)
36 | })
37 | /**
> 38 | * @description 例:<span class="colour" style="color: rgb(51, 51, 51);">**/3.0/h5FileService/download/123/fdjc34ef**</span>
|
^
```

Occored in `"swagger": "2.0"`

My environment:
```
swagger-typescript-api: 13.0.2
nodejs: 16.14.0

```

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.