lex-em / zuul-springfox-swagger Goto Github PK
View Code? Open in Web Editor NEWLibrary for using springfox swagger UI under ZUUL proxy
License: Apache License 2.0
Library for using springfox swagger UI under ZUUL proxy
License: Apache License 2.0
Hello,
I have an application in microservice architecture that needs a bearer token through the proxy to access all the APIs is possible to do it?
can you please say what I do wrong? getting ...
web - 2019-03-19 15:46:20,916 [http-nio-9095-exec-1] ERROR r.r.z.s.s.ZuulSwaggerResourceProvider - Some error during obtain swagger documentation for route auth
r.r.z.s.e.NotFoundException: null
at r.r.z.s.s.GenericSwaggerService.getOriginalSwaggerDoc(GenericSwaggerService.java:53)
at r.r.z.s.s.SwaggerService.getSwaggerVersion(SwaggerService.java:36)
at r.r.z.s.s.ZuulSwaggerResourceProvider.generateSwaggerDocumentationResource(ZuulSwaggerResourceProvider.java:47)
at j.u.s.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at j.u.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1553)
... 104 frames truncated
zuul config like this:
zuul:
prefix: /api
default-swagger-url: v2/api-docs
routes:
auth:
swaggerUrl: auth-api
serviceId: auth-service
path: /auth/**
url: http://${thingsboard.client.host}:${thingsboard.client.port}/api/auth
in documentation you wrote that RestTemplate should be configured, but there is no example. Can this cause problem?
regards,
Virginijus
Try resolve versions if configured
Plugin swagger resource provider imlementation should support api groups
Add to configuration enabling Swagger 2 and creating RestTemplate if it is undeclared.
Update README.
Need to configure travis-ci with bintray jcenter deploy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.