{
    "runtime": "Net50",
    "documentGenerator": {
        "fromDocument": {
            "json": "",
            "url": "https://petstore.swagger.io/v2/swagger.json",
            "output": null,
            "newLineBehavior": "Auto"
        }
    },
    "codeGenerators": {
        "openApiToCSharpClient": {
            "generateClientClasses": true,
            "generateClientInterfaces": true,
            "generateDtoTypes": true,
            "injectHttpClient": true,
            "disposeHttpClient": true,
            "generateExceptionClasses": true,
            "exceptionClass": "ServiceException",
            "wrapDtoExceptions": false,
            "useHttpClientCreationMethod": false,
            "httpClientType": "System.Net.Http.HttpClient",
            "useHttpRequestMessageCreationMethod": true,
            "useBaseUrl": true,
            "generateBaseUrlProperty": true,
            "generateSyncMethods": false,
            "exposeJsonSerializerSettings": false,
            "clientClassAccessModifier": "public",
            "clientBaseClass": "MainApp.Services.BaseService",
            "typeAccessModifier": "public",
            "generateContractsOutput": true,
            "contractsNamespace": "MainApp.Services.SampleService.Contracts",
            "contractsOutputFilePath": "GENERATEDCONTRACTS.cs",
            "parameterDateTimeFormat": "s",
            "generateUpdateJsonSerializerSettingsMethod": true,
            "serializeTypeInformation": false,
            "queryNullValue": "",
            "className": "SampleService",
            "operationGenerationMode": "MultipleClientsFromOperationId",
            "includedOperationIds": [ "SampleOperationId" ],
            "excludedOperationIds": [],
            "generateOptionalParameters": false,
            "generateJsonMethods": true,
            "parameterArrayType": "System.Collections.Generic.IEnumerable",
            "parameterDictionaryType": "System.Collections.Generic.IDictionary",
            "responseArrayType": "System.Collections.ObjectModel.ObservableCollection",
            "responseDictionaryType": "System.Collections.Generic.Dictionary",
            "wrapResponses": false,
            "generateResponseClasses": true,
            "responseClass": "SwaggerResponse",
            "namespace": "MainApp.Services.SampleService",
            "requiredPropertiesMustBeDefined": true,
            "dateType": "System.DateTime",
            "dateTimeType": "System.DateTime",
            "timeType": "System.TimeSpan",
            "timeSpanType": "System.TimeSpan",
            "arrayType": "System.Collections.ObjectModel.ObservableCollection",
            "arrayInstanceType": "System.Collections.ObjectModel.ObservableCollection",
            "dictionaryType": "System.Collections.Generic.Dictionary",
            "arrayBaseType": "System.Collections.ObjectModel.ObservableCollection",
            "dictionaryBaseType": "System.Collections.Generic.Dictionary",
            "classStyle": "poco",
            "generateDefaultValues": true,
            "generateDataAnnotations": false,
            "excludedTypeNames": [],
            "handleReferences": false,
            "generateImmutableArrayProperties": false,
            "generateImmutableDictionaryProperties": false,
            "output": "GENERATEDCODE.cs"
        }
    }
}
