swagger-api/swagger-codegen

Underscore prefix dropped from property names in generated Node Typescript classes

Open

#2,766 opened on 2016年5月3日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)HTML (12,701 stars) (5,474 forks)batch import
Client: TypeScriptIssue: Bughelp wanted

説明

From @saikatguha on April 29, 2016 22:9

"Foo": {
  "type": "object",
  "properties": {
    "_links": { "$ref": "#/definitions/Bar" }
  }
}

becomes

class Foo {
  "links": Bar;
}

Copied from original issue: swagger-api/swagger-editor#905

コントリビューターガイド