swagger-api/swagger-codegen

node.js generator can create invalid package.json files

Aperta

#2088 aperta il 9 feb 2016

 (1 commento) (0 reazioni) (0 assegnatari)HTML (5474 fork)batch import
Enhancement: GeneralServer: Nodejshelp wanted

Metriche repository

Star
 (12.701 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor