Skip to content

URLs in $ref should be url encoded #617

Open
@DavideCanton

Description

@DavideCanton

When generating definitions for generic types (say Foo), $ref urls to them may be invalid URL, as #/defintions/Foo<T> should be escaped to be considered a valid fragment.

It should be enough to uri encode the $ref, the name of the generated type can remain Foo<T>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions