swagger-api/swagger-codegen

node.js generator can create invalid package.json files

オープン

#2,088 opened on 2016/02/09

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)HTML (5,474 件のフォーク)batch import
Enhancement: GeneralServer: Nodejshelp wanted

Repository metrics

Stars
 (12,701 個のスター)
PR merge metrics
 (PR metrics pending)

説明

We need to properly escape the name, and version as well.

For instance:

name: "it's bad",
version: "1"

Will give an error on the name and the version as well.

Reported by @kesh92

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