How to remove erroneous Scope, Scope Description headings.
JManyama opened this issue · comments
Can you share your input OpenAPI definition? This will be coming from security.def
in the templates/openapi3
directory (which you can copy and then override using the --user_templates
option.
It should only be being output if your securityScheme
flows
have non-empty scopes
objects.
You can remove this section if you want:
{{? flow.scopes && Object.keys(flow.scopes).length}}
|Scope|Scope Description|
|---|---|
{{ for (var sc in flow.scopes) { }}|{{=sc}}|{{=data.utils.join(flow.scopes[sc])}}|
{{ } /* of scopes */ }}
{{?}}
But, what does the securitySchemes
section of your input OpenAPI definition look like?