Giter Club home page Giter Club logo

zuul-springfox-swagger's People

Contributors

lex-em avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zuul-springfox-swagger's Issues

Global Bearer Token

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?

NotFoundException: null

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.