UCLA Library IT is making a stab at integrating Swagger into our 
webservices.
Our test app has two services, one which consumes JSON via PUT, one which 
generates JSON via GET.
We've Swagger Core into our application, following the instructions setup 
instructions here 
<https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-Jersey-2.X-Project-Setup-1.5>
.
Our code is in GitHub: https://github.com/UCLALibrary/StatsServices
According to log4j output, our application is being scanned at startup:

2017-05-31 10:39:19 DEBUG ApiListingResource:47 - using scanner io.swagger.
jaxrs.config.BeanConfig@78a92042
2017-05-31 10:39:19 DEBUG Reflections:185 - going to scan these urls:
file:/usr/local/pss/webapps/pss/WEB-INF/classes/
2017-05-31 10:39:19 INFO  Reflections:228 - Reflections took 12 ms to scan 1 
urls, producing 10 keys and 26 values


However, the only output we get from https://our.app.edu/app/swagger.json 
is:

{
swagger: "2.0",
info: 
{
version: "1.0.0"},
host: "webservices-test.library.ucla.edu",
basePath: "/pss",
schemes: 
[
"https"]}


That is, the values defined in the SwaggerBootstrap servlet.
Is there a configuration step we're missing, or servlet config param we 
need to add to get the full Swagger output?

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to