Merge pull request #169 from houdiniproject/codegen_property_names
Turn on proper model property naming
This commit is contained in:
commit
0724fd85e2
2 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
"export-i18n": "bundle exec rake settings:combine_translations",
|
||||
"generate-openapi": "rake oapi:gen",
|
||||
"get-codegen-cli": "script/download_codegen_cli.sh",
|
||||
"generate-api-js": "rm -rf javascripts/api && npm run get-codegen-cli && npm run generate-openapi && java -jar .bin/swagger-codegen-cli.jar generate -l 'typescript-jquery' -i tmp/openapi.json -o javascripts/api -t lib/swagger-typescript-jquery"
|
||||
"generate-api-js": "rm -rf javascripts/api && npm run get-codegen-cli && npm run generate-openapi && java -jar .bin/swagger-codegen-cli.jar generate -l 'typescript-jquery' -i tmp/openapi.json -o javascripts/api --config 'swagger.json' -t lib/swagger-typescript-jquery"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/enzyme": "^3.1.9",
|
||||
|
|
3
swagger.json
Normal file
3
swagger.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"modelPropertyNaming": "original"
|
||||
}
|
Loading…
Reference in a new issue