Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-944

META-INF/swarm.swagger.conf is not considered

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2016.10.0
    • Fix Version/s: 2017.4.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2017-Feb-B
    • Steps to Reproduce:
      Hide
      • create a jax-rs modul with at least one swagger annotated endpoint
      • define the module in maven - pom as war
      • create a src/main/resources/META-INF/swarm.swagger.conf with for example packages:com.myorg.mypackage
      • run the module with the wildfly-swarm plugin
      • The log shows that the defined package is not recognized
      • Debug: at org.wildfly.swarm.swagger.internal.SwaggerArchiveImpl, line 104, the Node instance is empty and a default SwaggerConfigurationAsset is created
      Show
      create a jax-rs modul with at least one swagger annotated endpoint define the module in maven - pom as war create a src/main/resources/META-INF/swarm.swagger.conf with for example packages:com.myorg.mypackage run the module with the wildfly-swarm plugin The log shows that the defined package is not recognized Debug: at org.wildfly.swarm.swagger.internal.SwaggerArchiveImpl, line 104, the Node instance is empty and a default SwaggerConfigurationAsset is created

      Description

      The configuration-File META-INF/swarm.swagger.conf, as described in the documentation https://wildfly-swarm.gitbooks.io/wildfly-swarm-users-guide/content/v/2016.12.1/advanced/swagger.html is not recognized. The Class org.wildfly.swarm.swagger.internal.SwaggerArchiveImpl is looking unter META-INF/swarm.swager.conf, but with WAR-Deployment the configuration file is packaged under /WEB-INF/classes/META-INF/swarm.swagger.conf

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bob.mcwhirter Bob McWhirter
                  Reporter:
                  salvisbhp Hanspeter Salvisberg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: