mvp-ticket/openapitools.json

50 lines
1.7 KiB
JSON

{
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "7.6.0",
"generators": {
"typescript-angular": {
"generatorName": "typescript-angular",
"output": "frontend/src/app/api",
"inputSpec": "backend/docs/swagger.json",
"additionalProperties": {
"basePath": "http://localhost:3000/api",
"npmName": "Ticket-API-Services",
"npmVersion": "0.0.0",
"ngVersion": "17.0.0",
"npmRepository": null,
"configurationPrefix": null,
"apiModulePrefix" : "TicketApi",
"providedIn": "any",
"fileNaming": "camelCase",
"paramNaming": "camelCase",
"enumPropertyNamingReplaceSpecialChar": "false",
"enumUnknownDefaultCase": "false",
"enumNameSuffix": "ApiEnum",
"enumPropertyNaming": "PascalCase",
"modelPropertyNaming": "original",
"modelSuffix": "ApiModel",
"modelFileSuffix": ".api.model",
"serviceSuffix": "ApiService",
"serviceFileSuffix": ".api.service",
"withInterfaces": true,
"supportsES6": true,
"stringEnums": true,
"sortParamsByRequiredFlag": true,
"sortModelPropertiesByRequiredFlag": true,
"useSingleRequestParameter": false,
"taggedUnions": false,
"snapshot": false,
"prependFormOrBodyParameters": false,
"nullSafeAdditionalProps": false,
"legacyDiscriminatorBehavior": true,
"ensureUniqueParams": true,
"disallowAdditionalPropertiesIfNotPresent": true,
"allowUnicodeIdentifiers": false
}
}
}
}
}