swagger-api/swagger-codegen

node.js generator can create invalid package.json files

Open

#2,088 opened on 2016年2月9日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)HTML (5,474 forks)batch import
Enhancement: GeneralServer: Nodejshelp wanted

Repository metrics

Stars
 (12,701 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

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