Forum Discussion

berg_man's avatar
berg_man
New Contributor
5 years ago

How to add groups dynamically?

How to add groups dynamically? Generate a docket according to the scanned package or an external configuration file to realize grouping instead of writing it as a fixed method, because it is unknown which packages will be scanned out in advance.  Thank you very much.

  • berg_man's avatar
    berg_man
    New Contributor

    This is how I realized it:

    Add a "swaggerconfig" to each module instead of using a unified configuration file. Developers of each module can provide their own configuration file.

    But can the "default" group become a list of modules?