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

[Feature suggestion] Expand options for definition #144

Closed
tpedersen123 opened this issue Dec 10, 2021 · 5 comments
Closed

[Feature suggestion] Expand options for definition #144

tpedersen123 opened this issue Dec 10, 2021 · 5 comments

Comments

@tpedersen123
Copy link

Loving the package, thank you so much @jellydn and team.

It would be nice to add more fields from the basic structure
https://swagger.io/docs/specification/basic-structure/
Info and servers more specifically.

I see https://github.com/Surnet/swagger-jsdoc has an option to define these in a JSON or Yaml file?

@jellydn
Copy link
Owner

jellydn commented Dec 11, 2021

Thanks. I will look into this one later.

@tpedersen123
Copy link
Author

Ok, let me know if you need help :-)

@joergrech
Copy link

Hi, any update or workaround to insert additional info into the options / swagger document? I would like to add "servers" but can't state it in the SwaggerOptions. It looks like it is supported in swagger-jsdoc(line 55): https://github.com/Surnet/swagger-jsdoc/blob/9f47d059941e94f7ce0d7d5843848d89daa16b0b/test/lib.spec.js

@jellydn
Copy link
Owner

jellydn commented Feb 15, 2022

Hi all. I will publish new version for this issue soon.

@jellydn
Copy link
Owner

jellydn commented Feb 15, 2022

Closed by https://github.com/jellydn/next-swagger-doc/releases/tag/v0.2.0 Please let me know if any issue. Thanks.

@jellydn jellydn closed this as completed Feb 15, 2022
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

3 participants