il manque plus que openapi en ligne de commande et suppr les dossiers interfaces
This commit is contained in:
3
openapi-generator.yaml
Normal file
3
openapi-generator.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
additionalProperties:
|
||||
fileNaming: kebab-case
|
||||
modelPropertyNaming: camelCase
|
||||
@@ -5,7 +5,8 @@
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build",
|
||||
"watch": "ng build --watch --configuration development"
|
||||
"watch": "ng build --watch --configuration development",
|
||||
"openapi": "rm -rf src/app/services/api && openapi-generator-cli generate -i http://localhost:5228/swagger/v1/swagger.json -g typescript-angular -o src/app/services/api -c openapi-generator.yaml"
|
||||
},
|
||||
"prettier": {
|
||||
"printWidth": 100,
|
||||
|
||||
Reference in New Issue
Block a user