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

贡献者指南