stoicflame / enunciate-openapi

OpenAPI3 module for Enunciate
Apache License 2.0
10 stars 10 forks source link

Location of swagger UI one level up from enunciate docs #23

Open sortel64 opened 4 years ago

sortel64 commented 4 years ago

Thanks very much for creating this module! I added it to my project and replaced the swagger module. The output from this module seems to be one level up. That is:

${project.build.directory}

Places all of the enunciate docs in ./target/apidocs. I think 'apidocs' must be the enunciate default. However, the openapi module places them all at ./target so that dont get included in my final product (jar).

The swagger interactive UI loads but the link is oddly http://localhost:8181/apidocs/apidocs/index.html - note the double apidocs.

How does the openapi module decide where to put the swagger UI and openapi.yml?

Any thoughts?

Thanks

jskov-jyskebank-dk commented 4 years ago

No idea. I only do gradle, so I do not know how this module behaves with Maven. Sorry.