Skip to content

[ASPNETCORE] Add support for central package version management #99

[ASPNETCORE] Add support for central package version management

[ASPNETCORE] Add support for central package version management #99

Triggered via pull request January 5, 2025 08:14
Status Failure
Total duration 34s
Artifacts

samples-dotnet6-server.yaml

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

Annotations

43 errors and 16 warnings
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminatorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminator' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'DiscriminatorValue' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'DiscriminatorValue' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminatorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels): samples/server/petstore/aspnetcore-6.0-pocoModels/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminator' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Filters/BasePathFilter.cs#L13
The type or namespace name 'OpenApi' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Filters/GeneratePathParamsValidationFilter.cs#L14
The type or namespace name 'OpenApi' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Startup.cs#L20
The type or namespace name 'OpenApi' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Animal.cs#L29
The type or namespace name 'SwaggerDiscriminatorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Animal.cs#L29
The type or namespace name 'SwaggerDiscriminator' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Animal.cs#L31
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Animal.cs#L31
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Animal.cs#L33
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Animal.cs#L33
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse): samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/src/Org.OpenAPITools/Models/Animal.cs#L31
The type or namespace name 'DiscriminatorValue' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminatorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminator' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'DiscriminatorValue' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'DiscriminatorValue' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminatorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes): samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminator' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminatorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminator' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'SwaggerSubTypeAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'SwaggerSubType' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L32
The type or namespace name 'DiscriminatorValue' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L34
The type or namespace name 'DiscriminatorValue' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminatorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0): samples/server/petstore/aspnetcore-6.0/src/Org.OpenAPITools/Models/Animal.cs#L30
The type or namespace name 'SwaggerDiscriminator' could not be found (are you missing a using directive or an assembly reference?)
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Startup.cs#L82
The best overload for 'EnableAnnotations' does not have a parameter named 'enableAnnotationsForInheritance'
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models): samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Startup.cs#L82
The best overload for 'EnableAnnotations' does not have a parameter named 'enableAnnotationsForInheritance'
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models)
Process completed with exit code 1.
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-pocoModels)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-useSwashBuckle)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build .Net 6 servers (samples/server/petstore/aspnetcore-6.0-project4Models)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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/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/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/Order.cs#L27
The type 'Order' in '/home/runner/work/openapi-generator/openapi-generator/samples/server/petstore/aspnetcore-6.0-project4Models/src/Org.OpenAPITools/Models/Order.cs' conflicts with the imported type 'Order' 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/Order.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'.