forked from loafle/openapi-generator-original
remove exception comment on model constructor to avoid compile warning
This commit is contained in:
@@ -22,7 +22,6 @@ namespace {{packageName}}.Model
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="{{classname}}" />class.
|
||||
/// </summary>
|
||||
/// <exception cref="System.InvalidDataException">Thrown when required property is null</exception>
|
||||
{{#vars}}{{^isReadOnly}} /// <param name="{{name}}">{{#description}}{{description}}{{/description}}{{^description}}{{name}}{{/description}}{{#required}} (required){{/required}}{{#defaultValue}} (default to {{defaultValue}}){{/defaultValue}}.</param>
|
||||
{{/isReadOnly}}{{/vars}}
|
||||
public {{classname}}({{#vars}}{{^isReadOnly}}{{{datatype}}} {{name}} = null{{#hasMore}}, {{/hasMore}}{{/isReadOnly}}{{/vars}})
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace IO.Swagger.Model
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Category" />class.
|
||||
/// </summary>
|
||||
/// <exception cref="System.InvalidDataException">Thrown when required property is null</exception>
|
||||
/// <param name="Id">Id.</param>
|
||||
/// <param name="Name">Name.</param>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace IO.Swagger.Model
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Order" />class.
|
||||
/// </summary>
|
||||
/// <exception cref="System.InvalidDataException">Thrown when required property is null</exception>
|
||||
/// <param name="PetId">PetId.</param>
|
||||
/// <param name="Quantity">Quantity.</param>
|
||||
/// <param name="ShipDate">ShipDate.</param>
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace IO.Swagger.Model
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Pet" />class.
|
||||
/// </summary>
|
||||
/// <exception cref="System.InvalidDataException">Thrown when required property is null</exception>
|
||||
/// <param name="Id">Id.</param>
|
||||
/// <param name="Category">Category.</param>
|
||||
/// <param name="Name">Name (required).</param>
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace IO.Swagger.Model
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Tag" />class.
|
||||
/// </summary>
|
||||
/// <exception cref="System.InvalidDataException">Thrown when required property is null</exception>
|
||||
/// <param name="Id">Id.</param>
|
||||
/// <param name="Name">Name.</param>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ namespace IO.Swagger.Model
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="User" />class.
|
||||
/// </summary>
|
||||
/// <exception cref="System.InvalidDataException">Thrown when required property is null</exception>
|
||||
/// <param name="Id">Id.</param>
|
||||
/// <param name="Username">Username.</param>
|
||||
/// <param name="FirstName">FirstName.</param>
|
||||
|
||||
Reference in New Issue
Block a user