Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to set custom templateParameters #1415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 2, 2021

  1. Add option to set custom templateParameters

    Add ability to define custom TemplateParameters.
    Useful, for example, for injecting C# constant strings into the JS files that we want to c.InjectJavascript() into the Swagger page.
    
    I've already tested that, for example, referencing %(DocumentTitle) in my injected Javascript file works, but I can't do that with my own template key, making the `isTemplate` parameter of `InjectJavascript()` pretty pointless.
    Brondahl authored Aug 2, 2021
    Configuration menu
    Copy the full SHA
    79719fd View commit details
    Browse the repository at this point in the history