Skip to content

fix: refactor ToIdentifier() to normalize flaggable enums #5757

fix: refactor ToIdentifier() to normalize flaggable enums

fix: refactor ToIdentifier() to normalize flaggable enums #5757

Triggered via pull request February 20, 2025 08:05
Status Failure
Total duration 2m 10s
Artifacts

ci-cd.yml

on: pull_request
Continuous Integration
39s
Continuous Integration
Validate Project for Trimming
1m 56s
Validate Project for Trimming
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Continuous Integration: src/Microsoft.OpenApi/Validations/Rules/RuleHelpers.cs#L59
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Continuous Integration: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L29
'JsonSchemaType' does not contain a definition for 'ToIdentifier' and the best extension method overload 'OpenApiTypeMapper.ToIdentifier(JsonSchemaType?)' requires a receiver of type 'Microsoft.OpenApi.Models.JsonSchemaType?'
Continuous Integration: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L59
'JsonSchemaType' does not contain a definition for 'ToIdentifier' and the best extension method overload 'OpenApiTypeMapper.ToIdentifier(JsonSchemaType?)' requires a receiver of type 'Microsoft.OpenApi.Models.JsonSchemaType?'
Continuous Integration: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L189
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L416
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L654
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L658
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L661
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L679
'string' does not contain a definition for 'ToIdentifier' and the best extension method overload 'OpenApiTypeMapper.ToIdentifier(JsonSchemaType?)' requires a receiver of type 'Microsoft.OpenApi.Models.JsonSchemaType?'
Continuous Integration: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L706
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Validate Project for Trimming: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L29
'JsonSchemaType' does not contain a definition for 'ToIdentifier' and the best extension method overload 'OpenApiTypeMapper.ToIdentifier(JsonSchemaType?)' requires a receiver of type 'Microsoft.OpenApi.Models.JsonSchemaType?'
Validate Project for Trimming: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L59
'JsonSchemaType' does not contain a definition for 'ToIdentifier' and the best extension method overload 'OpenApiTypeMapper.ToIdentifier(JsonSchemaType?)' requires a receiver of type 'Microsoft.OpenApi.Models.JsonSchemaType?'
Validate Project for Trimming: src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs#L189
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L416
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Validate Project for Trimming: src/Microsoft.OpenApi/Validations/Rules/RuleHelpers.cs#L59
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L654
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L658
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L661
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L679
'string' does not contain a definition for 'ToIdentifier' and the best extension method overload 'OpenApiTypeMapper.ToIdentifier(JsonSchemaType?)' requires a receiver of type 'Microsoft.OpenApi.Models.JsonSchemaType?'
Validate Project for Trimming: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L706
'JsonSchemaType' does not contain a definition for 'FirstIdentifier' and no accessible extension method 'FirstIdentifier' accepting a first argument of type 'JsonSchemaType' could be found (are you missing a using directive or an assembly reference?)