mirror of
https://github.com/NecroticBamboo/QRBee.git
synced 2025-12-21 12:11:53 +00:00
102 lines
7.8 KiB
Plaintext
102 lines
7.8 KiB
Plaintext
{
|
|
"runtime": "Net60",
|
|
"defaultVariables": null,
|
|
"documentGenerator": {
|
|
"fromDocument": {
|
|
"json": "{\r\n \"openapi\": \"3.0.1\",\r\n \"info\": {\r\n \"title\": \"QRBee.Api\",\r\n \"version\": \"1.0\"\r\n },\r\n \"paths\": {\r\n \"/api/QRBee/Register\": {\r\n \"post\": {\r\n \"tags\": [\r\n \"QRBee\"\r\n ],\r\n \"requestBody\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationRequest\"\r\n }\r\n },\r\n \"text/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationRequest\"\r\n }\r\n },\r\n \"application/*+json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationRequest\"\r\n }\r\n }\r\n }\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\",\r\n \"content\": {\r\n \"text/plain\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationResponse\"\r\n }\r\n },\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationResponse\"\r\n }\r\n },\r\n \"text/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationResponse\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/QRBee/Update/{clientId}\": {\r\n \"patch\": {\r\n \"tags\": [\r\n \"QRBee\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"clientId\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"schema\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n ],\r\n \"requestBody\": {\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationRequest\"\r\n }\r\n },\r\n \"text/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationRequest\"\r\n }\r\n },\r\n \"application/*+json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/RegistrationRequest\"\r\n }\r\n }\r\n }\r\n },\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"Success\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"components\": {\r\n \"schemas\": {\r\n \"RegistrationRequest\": {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"email\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"dateOfBirth\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"certificateRequest\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"registerAsMerchant\": {\r\n \"type\": \"boolean\"\r\n }\r\n },\r\n \"additionalProperties\": false\r\n },\r\n \"RegistrationResponse\": {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"clientId\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n },\r\n \"certificate\": {\r\n \"type\": \"string\",\r\n \"nullable\": true\r\n }\r\n },\r\n \"additionalProperties\": false\r\n }\r\n }\r\n }\r\n}",
|
|
"url": "http://redocly.github.io/redoc/openapi.yaml",
|
|
"output": null,
|
|
"newLineBehavior": "Auto"
|
|
}
|
|
},
|
|
"codeGenerators": {
|
|
"openApiToCSharpClient": {
|
|
"clientBaseClass": null,
|
|
"configurationClass": null,
|
|
"generateClientClasses": true,
|
|
"generateClientInterfaces": false,
|
|
"clientBaseInterface": null,
|
|
"injectHttpClient": true,
|
|
"disposeHttpClient": true,
|
|
"protectedMethods": [],
|
|
"generateExceptionClasses": true,
|
|
"exceptionClass": "ApiException",
|
|
"wrapDtoExceptions": true,
|
|
"useHttpClientCreationMethod": false,
|
|
"httpClientType": "System.Net.Http.HttpClient",
|
|
"useHttpRequestMessageCreationMethod": false,
|
|
"useBaseUrl": true,
|
|
"generateBaseUrlProperty": true,
|
|
"generateSyncMethods": false,
|
|
"generatePrepareRequestAndProcessResponseAsAsyncMethods": false,
|
|
"exposeJsonSerializerSettings": false,
|
|
"clientClassAccessModifier": "public",
|
|
"typeAccessModifier": "public",
|
|
"generateContractsOutput": false,
|
|
"contractsNamespace": null,
|
|
"contractsOutputFilePath": null,
|
|
"parameterDateTimeFormat": "s",
|
|
"parameterDateFormat": "yyyy-MM-dd",
|
|
"generateUpdateJsonSerializerSettingsMethod": true,
|
|
"useRequestAndResponseSerializationSettings": false,
|
|
"serializeTypeInformation": false,
|
|
"queryNullValue": "",
|
|
"className": "{controller}Client",
|
|
"operationGenerationMode": "MultipleClientsFromOperationId",
|
|
"additionalNamespaceUsages": [
|
|
"QRBee.Core.Data"
|
|
],
|
|
"additionalContractNamespaceUsages": [],
|
|
"generateOptionalParameters": false,
|
|
"generateJsonMethods": false,
|
|
"enforceFlagEnums": false,
|
|
"parameterArrayType": "System.Collections.Generic.IEnumerable",
|
|
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
|
|
"responseArrayType": "System.Collections.Generic.ICollection",
|
|
"responseDictionaryType": "System.Collections.Generic.IDictionary",
|
|
"wrapResponses": false,
|
|
"wrapResponseMethods": [],
|
|
"generateResponseClasses": true,
|
|
"responseClass": "SwaggerResponse",
|
|
"namespace": "QRBee.Core.Client",
|
|
"requiredPropertiesMustBeDefined": true,
|
|
"dateType": "System.DateTimeOffset",
|
|
"jsonConverters": null,
|
|
"anyType": "object",
|
|
"dateTimeType": "System.DateTimeOffset",
|
|
"timeType": "System.TimeSpan",
|
|
"timeSpanType": "System.TimeSpan",
|
|
"arrayType": "System.Collections.Generic.ICollection",
|
|
"arrayInstanceType": "System.Collections.ObjectModel.Collection",
|
|
"dictionaryType": "System.Collections.Generic.IDictionary",
|
|
"dictionaryInstanceType": "System.Collections.Generic.Dictionary",
|
|
"arrayBaseType": "System.Collections.ObjectModel.Collection",
|
|
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
|
|
"classStyle": "Poco",
|
|
"jsonLibrary": "NewtonsoftJson",
|
|
"generateDefaultValues": true,
|
|
"generateDataAnnotations": true,
|
|
"excludedTypeNames": [],
|
|
"excludedParameterNames": [],
|
|
"handleReferences": false,
|
|
"generateImmutableArrayProperties": false,
|
|
"generateImmutableDictionaryProperties": false,
|
|
"jsonSerializerSettingsTransformationMethod": null,
|
|
"inlineNamedArrays": false,
|
|
"inlineNamedDictionaries": false,
|
|
"inlineNamedTuples": true,
|
|
"inlineNamedAny": false,
|
|
"generateDtoTypes": false,
|
|
"generateOptionalPropertiesAsNullable": false,
|
|
"generateNullableReferenceTypes": false,
|
|
"templateDirectory": null,
|
|
"typeNameGeneratorType": null,
|
|
"propertyNameGeneratorType": null,
|
|
"enumNameGeneratorType": null,
|
|
"serviceHost": null,
|
|
"serviceSchemes": null,
|
|
"output": null,
|
|
"newLineBehavior": "Auto"
|
|
}
|
|
}
|
|
} |