cyclosproject / ng-openapi-gen

An OpenAPI 3.0 codegen for Angular
MIT License
403 stars 134 forks source link

Parameter's descriptions are html escaped #247

Closed kbuntrock closed 1 year ago

kbuntrock commented 2 years ago

Unlike other "description" properties, parameter's ones are html escaped.

Example :

{
  "name": "petId",
  "in": "path",
  "required": true,
  "description": "Pet's id to retrieve",
  "schema": {
    "type": "string"
  }
 }

will generate :

/**
* Pet's id to retrieve
*/
petId: string;

It should be :

/**
* Pet's id to retrieve
*/
petId: string;