Skip to content

Custom javascript src url and custom javascript code options #52

Description

@CoreDX9

I want to add a plugin into swagger UI, but I can not inject script of plugin and configure plugin. The configuration of plugin needs functions as property, simple json can not deserialize to function.

Add properties to option class.

public List<string> JavascriptUrls { get; set; } // inject <script scr=""></script>

public string? CustomJavascriptCode { get; set; } // will run before init swagger application, config object is a parameter.

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