/
Andru196
/
NSwagClone
Обзор
Документация
Войти
/
Andru196
/
NSwagClone
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
1
Аналитика
Безопасность
master
src/NSwag.CodeGeneration.CSharp/Models/CSharpResponseModel.cs
34 строки
2 KB
Doug Bunting
Use latest GitHub URLs
24 июн 2019, 02:15
Не верифицирован
24 июн 2019, 02:15
4e94b9d
Код
Авторство
О чём код?
//----------------------------------------------------------------------- // <copyright file="CSharpResponseModel.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/RicoSuter/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter, mail@rsuter.com</author> //----------------------------------------------------------------------- using NJsonSchema; using NJsonSchema.CodeGeneration; using NSwag.CodeGeneration.Models; namespace NSwag.CodeGeneration.CSharp.Models { /// <summary>The CSharp response model.</summary> public class CSharpResponseModel : ResponseModelBase { /// <summary>Initializes a new instance of the <see cref="CSharpResponseModel"/> class.</summary> /// <param name="operationModel">The operation model.</param> /// <param name="operation">The operation.</param> /// <param name="statusCode">The status code.</param> /// <param name="response">The response.</param> /// <param name="isPrimarySuccessResponse">Specifies whether this is the success response.</param> /// <param name="exceptionSchema">The exception schema.</param> /// <param name="generator">The client generator.</param> /// <param name="resolver">The resolver.</param> /// <param name="settings">The settings.</param> public CSharpResponseModel(IOperationModel operationModel, OpenApiOperation operation, string statusCode, OpenApiResponse response, bool isPrimarySuccessResponse, JsonSchema exceptionSchema, IClientGenerator generator, TypeResolverBase resolver, CodeGeneratorSettingsBase settings) : base(operationModel, operation, statusCode, response, isPrimarySuccessResponse, exceptionSchema, resolver, settings, generator) { } } }