Support for "--generate-spec" command
andrus opened this issue · 0 comments
andrus commented
Per bootique/bootique-swagger#34 spec generation may happen outside of the JAX-RS container, so all the Swagger extensions that we provide must work without JAX-RS.
Unfortunate side-effect of this change is that AgSchema (and hence Cayenne ServerRuntime) need to be initialized to generated the docs. To avoid DB connection attempts when this happens, set bq.cayenne.lazyDataSource
to true