Skip to content

[BUG][ASPNETCORE] Fallback to HttpContext as resource in authorization handler #126

[BUG][ASPNETCORE] Fallback to HttpContext as resource in authorization handler

[BUG][ASPNETCORE] Fallback to HttpContext as resource in authorization handler #126

Triggered via pull request January 4, 2026 20:06
Status Success
Total duration 49s
Artifacts

samples-dotnet6-server.yaml

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

Annotations

31 warnings
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Controllers/PetApi.cs#L43
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 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/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#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/Controllers/FakeApi.cs#L64
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 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)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes)
The target framework 'net6.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.