← All tasks
javaswagger-api/swagger-core #4925Not a task: not reproduced

swagger-jaxrs2-jakarta not generating spec when wars exploded on Wildfly/JBoss

envgap__swagger-api__swagger-core-4925

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
028ffbbb6d22731074b441fc049855ef328d72e2
Manifest
pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

swagger-api/swagger-core #4925 · read the original issue
This is not an issue with this library, but with the classgraph library used by swagger-jaxrs2-jakarta on Wildfly/JBoss

When the ear/wars are exploded in developement mode by IDE, the classgraph library fails to find annotated classes. This causes it to work when deployed but not when developing (really confusing for someone trying to get it to work). 

This issue has been caused by pullrequest in classgraph v4.8.174 and fixed in issue https://github.com/classgraph/classgraph/issues/896 but not yet released.

Update of classgraph will be necessary after new version containing this fix releases. 
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]