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

HTML rendering issue with valid RAML for security schemes. #19

Open
ageoghegan opened this issue Nov 22, 2019 · 0 comments
Open

HTML rendering issue with valid RAML for security schemes. #19

ageoghegan opened this issue Nov 22, 2019 · 0 comments

Comments

@ageoghegan
Copy link

ageoghegan commented Nov 22, 2019

RAML snippet...

securitySchemes:
  basic:
    description: This API supports Basic Authentication.
    type: Basic Authentication
securedBy: [basic]

Error response when rendering HTML:
Error: Command failed: raml2html --template c:\Users\ageoghegan.vscode\extensions\blzjns.vscode-raml-3.0.1\raml2html_template/dark.nunjucks d:\Repos\8West\provider-master-data-api\raml\api.raml
Template render error: (c:\Users\ageoghegan.vscode\extensions\blzjns.vscode-raml-3.0.1\raml2html_template\dark.nunjucks)
Template render error: (c:\Users\ageoghegan.vscode\extensions\blzjns.vscode-raml-3.0.1\raml2html_template\resource.nunjucks) [Line 71, Column 62]
Error: Unable to call renderSecuredBy, which is undefined or falsey

Gabrz added a commit to Gabrz/vscode-raml that referenced this issue Oct 19, 2020
Fixed and documented Issues( blzjns#9, blzjns#10, blzjns#18 and blzjns#19)

Added new Templates with Material Theme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant