Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"runtime": "Net80",
|
||||
"documentGenerator": {
|
||||
"fromDocument": {
|
||||
"url": "http://localhost:5107/swagger/v1/swagger.json",
|
||||
"output": null
|
||||
}
|
||||
},
|
||||
"codeGenerators": {
|
||||
"openApiToTypeScriptClient": {
|
||||
"className": "FitnessClient",
|
||||
"typeScriptVersion": 5.0,
|
||||
"template": "Fetch",
|
||||
"promiseType": "Promise",
|
||||
"httpClass": "HttpClient",
|
||||
"dateTimeType": "Date",
|
||||
"nullValue": "Undefined",
|
||||
"generateClientClasses": true,
|
||||
"generateClientInterfaces": false,
|
||||
"exportTypes": true,
|
||||
"generateDtoTypes": true,
|
||||
"operationGenerationMode": "MultipleClientsFromOperationId",
|
||||
"markOptionalProperties": true,
|
||||
"typeStyle": "Interface",
|
||||
"enumStyle": "Enum",
|
||||
"useAbortSignal": false,
|
||||
"output": "src/api/client.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user