Init OpenAPI
This commit is contained in:
23
openapitools.json
Normal file
23
openapitools.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
|
||||
"spaces": 2,
|
||||
"generator-cli": {
|
||||
"version": "7.13.0",
|
||||
"generators": {
|
||||
"v2.0": {
|
||||
"generatorName": "typescript-axios",
|
||||
"inputSpec": "http://localhost:8080/q/openapi",
|
||||
"output": "#{cwd}/src/api//#{name}",
|
||||
"apiNameSuffix": "Service",
|
||||
"additionalProperties": {
|
||||
"apiPackage": "service",
|
||||
"modelPackage": "model",
|
||||
"withSeparateModelsAndApi": true,
|
||||
"npmName": "restClient",
|
||||
"supportsES6": "true",
|
||||
"withInterfaces": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user