Giter Site home page Giter Site logo

Comments (6)

elans3 avatar elans3 commented on May 26, 2024 1

This issue addressed in version 2.5.1.

  • Select content type as JSON while creating a mock.
  • Which would return input and output as JSON.
    Can you validate and confirm

from virtualan.

4ndris avatar 4ndris commented on May 26, 2024 1

This issue addressed in version 2.5.1.

  • Select content type as JSON while creating a mock.
  • Which would return input and output as JSON.
    Can you validate and confirm

@elans3 fyi, we see it works fine 👍 thank you for the enhancement

from virtualan.

4ndris avatar 4ndris commented on May 26, 2024 1

In virtualan, springdoc.swagger-ui.queryConfigEnabled is enabled by default. which is causing the issue. See if the below example helps? https://github.com/virtualansoftware/service-virtualization-openapi/blob/master/src/main/java/io/virtualan/DisableSpringDocQueryParameter.ja

@elans3 I can see - but for me opening up URL: /swagger-ui.html instead /swagger-ui/index.html (opens from menu by clicking Overall Catalog) solved the issue. Actually I do not need the query parameter to be enabled, I just wanted to have the overall page opened.

from virtualan.

elans3 avatar elans3 commented on May 26, 2024 1

Thank you @4ndris.. We will update Overall URL in next release.

from virtualan.

4ndris avatar 4ndris commented on May 26, 2024

@elans3
Great news, we are in progress with the tests. I get back to you once we are done. In meantime I see that the menu item "Overall catalog" opens PetStore definition instead Virtualan api catalog. Have you faced this issue before?
image

from virtualan.

elans3 avatar elans3 commented on May 26, 2024

In virtualan, springdoc.swagger-ui.queryConfigEnabled is enabled by default. which is causing the issue.
See if the below example helps?
https://github.com/virtualansoftware/service-virtualization-openapi/blob/master/src/main/java/io/virtualan/DisableSpringDocQueryParameter.ja

from virtualan.

Related Issues (6)

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.