-
Notifications
You must be signed in to change notification settings - Fork 270
Closed
Description
Describe the bug
Getting duplicate parameter definitions when filtering on 2 or more operations that have the same parameters. That's an invalid OpenAPI definition.
OpenApi File To Reproduce
hidi transform -d https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/refs/heads/master/openapi/v1.0/openapi.yaml -f yaml -o ".\test.yaml" -v OpenApi3_0 --op certificateBasedAuthConfiguration.certificateBasedAuthConfiguration.UpdateCertificateBasedAuthConfiguration,certificateBasedAuthConfiguration.certificateBasedAuthConfiguration.DeleteCertificateBasedAuthConfiguration --coCheck the certificateBasedAuthConfiguration-id parameter in this case.
Expected behavior
Should just have a single parameter if it's exactly the same.
Additional context
Also tested directly with method OpenApiFilterService.CreateFilteredDocument with the same behavior.
Metadata
Metadata
Assignees
Labels
No labels