Git Product home page Git Product logo

Comments (4)

JamesMessinger avatar JamesMessinger commented on June 11, 2024

There's not a setting that controls the recursion depth. But certain recursive structures can result in a logarithmic explosion that takes forever to process. 😕

The problem is actually in the dereferencing step, but the current code requires dereferencing first before validation. I hope to eventually refactor the validation logic so it doesn't require prior dereferencing, which I believe will solve this problem (and others)

from swagger-cli.

louisl avatar louisl commented on June 11, 2024

Thanks for the reply and explanation. I had a quick look at the code but I think I'd have to sink some time into it to get to grips with it so I don't think I really have time to help at the moment. I'm going to have to keep an eye on this for now.

from swagger-cli.

louisl avatar louisl commented on June 11, 2024

I've had to reopen the job where I was having this issue to make some changes. I've updated from 2.3.4 to 4.0.4 and the validation time was really fast so I guess this was fixed at some point? If so I think we can close this issue.

from swagger-cli.

mortifia avatar mortifia commented on June 11, 2024

with this openapi spec it's take very long time (public scheme)
https://docs.medusajs.com/api/store
openapi doc https://docs.medusajs.com/redocusaurus/plugin-redoc-0.yaml

from swagger-cli.

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.