Skip to content

[ASPNETCORE] Fix having two "?" when not required and nullable = true #63

[ASPNETCORE] Fix having two "?" when not required and nullable = true

[ASPNETCORE] Fix having two "?" when not required and nullable = true #63

Triggered via pull request July 6, 2024 13:38
Status Success
Total duration 37s
Artifacts

samples-dotnet6-server.yaml

on: pull_request
Matrix: Build .Net 6 servers
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build .Net 6 servers (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 6 servers (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 6 servers (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 6 servers (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 6 servers (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 6 servers (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 6 servers (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 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs#L82
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 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs#L121
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 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Category.cs#L121
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'.