swagger-api/swagger-codegen

Underscore prefix dropped from property names in generated Node Typescript classes

Open

#2,766 建立於 2016年5月3日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)HTML (12,701 star) (5,474 fork)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

貢獻者指南