-
Notifications
You must be signed in to change notification settings - Fork 227
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
Load servers and info from yaml files #285
Labels
pinned
Issues that will not be automatically closed
Comments
Can you provide a repo where you reproduce the error related above? |
Hi dear @daniloab I have prepared a repo to reproduce the issue. How to reproduce:
If you set Thanks for your time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not sure if this is an indented behavior or bug, so please feel free to re-label this to bug report.
Is your feature request related to a problem? Please describe.
I am not able to read a few parts of the spec from yaml files. For example (servers and info). But It is great that I can do this with other parts like tags and components.
Describe the solution you'd like
I want to split the spec into multiple yaml files. For instance,
servers.yaml
,tags.yaml
,info.yaml
,components.yaml
, etc.And afterward, I shall be able to initialize the SwaggerJSDoc like below.
Describe alternatives you've considered
I am currently keeping the info and servers parts of the spec in a json file and then load it into the SwaggerJSDoc constructor.
Additional context
N/A
The text was updated successfully, but these errors were encountered: