Skip to content

Multiple WithUrlForEndpoint per one endpoint results in just one link showing #8846

@petrroll

Description

@petrroll

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

If I have e.g. https endpoint that I want to have two links for (different paths), s.a.:

    .WithUrlForEndpoint("https", u => { u.DisplayText = "Client portal"; u.DisplayOrder = int.MaxValue; })
    .WithUrlForEndpoint("https", u => { u.DisplayText = "Secrets API portal"; u.Url = $"{u.Url}/scalar/v1"; u.DisplayOrder = int.MaxValue - 1; })

It ends up being just:

Image

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions