Forum Discussion

ivanscodo's avatar
ivanscodo
Visitor
3 years ago

How to work with multiple files

Hi Folks,

 

I have an application that makes use of a library, and both use swagger to generate documentation. Right now what I see when I access the swagger main page is a combobox with two options, one for the main application, and another one for the library. So far so good. The problem is that we decided to serve the documentation of the main application in a static file, but the library should remain as it is now, annotation-based.

Does anyone know how to mix a static file and an annotation-based one?

If it is not possible, I can generate the yaml file of the library and serve it as a static one as well, it should be ok, but in this case how can I serve both files and show them in a combo so the users can choose which one they want to visualize?

 

Thanks in advance for any help.

 

 

No RepliesBe the first to reply