[csharp][generichost] Implement not required nullable properties #925
Annotations
56 warnings
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle):
samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle):
samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle):
samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-useSwashBuckle):
samples/server/petstore/aspnetcore-6.0-useSwashBuckle/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse):
samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L166
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse):
samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L197
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse):
samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L166
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse):
samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Order.cs#L197
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0):
samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0):
samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0):
samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0):
samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools.Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools.Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Controllers/FakeApi.cs#L40
The type 'Pet' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Pet.cs' conflicts with the imported type 'Pet' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Pet.cs'.
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L27
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L88
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L134
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L134
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L139
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs#L139
The type 'ApiResponse' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs' conflicts with the imported type 'ApiResponse' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/ApiResponse.cs'.
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-project4Models):
samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs#L27
The type 'Category' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs' conflicts with the imported type 'Category' in 'Org.OpenAPITools.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs'.
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/ChildCat.cs#L104
The member 'ChildCat.PetTypeOption' does not hide an accessible member. The new keyword is not required.
|
|
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L245
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L246
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L259
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L121
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/ChildCat.cs#L106
The member 'ChildCat.PetTypeOption' does not hide an accessible member. The new keyword is not required.
|
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L123
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
|
|
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L247
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L248
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/ObjectWithDeprecatedFields.cs#L261
'ObjectWithDeprecatedFields.DeprecatedRef' is obsolete
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes):
samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes):
samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes):
samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L162
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes):
samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Order.cs#L193
The result of the expression is always 'true' since a value of type 'DateTime' is never equal to 'null' of type 'DateTime?'
|
Build .Net projects (samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests):
samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt/src/Org.OpenAPITools/Model/ChildCat.cs#L106
The member 'ChildCat.PetTypeOption' does not hide an accessible member. The new keyword is not required.
|
|
|
|
|
|
|
|
|
|