swagger-api/swagger-codegen
View on GitHubnode.js generator can create invalid package.json files
Open
#2,088 opened on Feb 9, 2016
Enhancement: GeneralServer: Nodejshelp wanted
Repository metrics
- Stars
- (12,701 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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