swagger-api/swagger-codegen

Underscore prefix dropped from property names in generated Node Typescript classes

開放

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

 (7 則留言) (0 個反應) (0 位負責人)HTML (5,474 個分叉)batch import
Client: TypeScriptIssue: Bughelp wanted

倉庫指標

星標
 (12,701 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南