Code Monkey home page Code Monkey logo

Comments (8)

elezar avatar elezar commented on May 14, 2024

Could one add the routes when an API is added using a call to add_api returning the required information from the api?

What happens when one calls add_api multiple times (specifying different .yaml files each time)?

from connexion.

hjacobs avatar hjacobs commented on May 14, 2024

@chutium I think adding (at least allowing "opt-in") the schema-discovery URL is a good idea

from connexion.

hjacobs avatar hjacobs commented on May 14, 2024

For background explanation: the "/.well-known/schema-discovery" URL (https://docs.stups.io/en/latest/components/twintip.html) is our Zalando STUPS way of discovering Swagger API definitions. The STUPS TWINTIP service is regularly scanning all deployed application endpoints to find Swagger API definitions.

from connexion.

hjacobs avatar hjacobs commented on May 14, 2024

FYI: There is also an ongoing discussion about allowing multiple Swagger API definitions per service, see https://github.com/zalando-stups/twintip-crawler/issues/5

from connexion.

hjacobs avatar hjacobs commented on May 14, 2024

@chutium I now see your problem more clearly: I guess the real problem is Connexion logging HTTP 401 (unauthenticated) as "ERROR", we probably should reconsider and use "INFO" log level (as it's a client error and should not spam the server logs)

from connexion.

hjacobs avatar hjacobs commented on May 14, 2024

@chutium see #83

from connexion.

rafaelcaricio avatar rafaelcaricio commented on May 14, 2024

Can we close this issue?

from connexion.

hjacobs avatar hjacobs commented on May 14, 2024

Yes, let's close it.

from connexion.

Related Issues (20)

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.