You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a template that based on a setting, it generates a project with Scalar or Swagger configured.
I've tried several ways, based on other projects and vague examples I've found, but I can't see clearly in the documentation how to manage the sources section to do that.
The point is that currently, I have a file configuring Swagger, and if the selected option is Scalar, I'd like to discard it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I'm trying to create a template that based on a setting, it generates a project with Scalar or Swagger configured.
I've tried several ways, based on other projects and vague examples I've found, but I can't see clearly in the documentation how to manage the sources section to do that.
The point is that currently, I have a file configuring Swagger, and if the selected option is Scalar, I'd like to discard it.
You can see the entire project on Github here
Several examples I've tested so far includes:
Option A
Option B
Option C
None of them exclude the file, how this should be configured?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions