Giter VIP home page Giter VIP logo

Comments (9)

sam0r040 avatar sam0r040 commented on September 28, 2024 1

Hi @madrimas, we are currently looking into this feature.

from springwolf-core.

madrimas avatar madrimas commented on September 28, 2024 1

I've tested the snapshot, looks brilliant, thanks!

After release I'll check it once again and then close the issue.

from springwolf-core.

github-actions avatar github-actions commented on September 28, 2024 1

The change is available in the latest release. 🎉

Thank you for the report/contribution and making Springwolf better!

from springwolf-core.

github-actions avatar github-actions commented on September 28, 2024

Welcome to Springwolf. Thanks a lot for reporting your first issue. Please check out our contributors guide and feel free to join us on discord.

from springwolf-core.

sam0r040 avatar sam0r040 commented on September 28, 2024

Hi @madrimas,
do you ask for an option to select different api backend in a single ui. Similar to the option in swagger (https://petstore3.swagger.io/):
image
Or do want to manually configure the springwolf paths by setting the spring context path property?
Or is it something different? If so, could you point us to the swagger docs?

from springwolf-core.

madrimas avatar madrimas commented on September 28, 2024

Hi @sam0r040! Thanks for quick reply!

Something different. I want to set custom path without setting spring context path in whole app.
In swagger UI there is:
springdoc.swagger-ui.path - where you can set custom path, in my case {myMicroserviceId} + custom-path

then I can get swagger UI in my browser via such URL: {someBaseUrl, eg. k8s cluster, or localhost} / {myMicroserviceId} / custom-path / swagger-ui / index.html, e.g. localhost/pet-service/custom-path/swagger-ui/index.html

In Springwolf I want to configure it in the similar way, e.g.:
springwolf.ui.path=/{myMicroserviceId}/custom-path/

then I'll get Springwolf UI in my browser via such URL: localhost/pet-service/custom-path/springwolf/asyncapi-ui.html instead of localhost/springwolf/asyncapi-ui.html

So, as I said, it's similar case to context path, but without setting it (due to some requirements, I cannot set context path in the whole app).

from springwolf-core.

madrimas avatar madrimas commented on September 28, 2024

so @sam0r040 how do you see that? Is there a possibility to add such feature?

from springwolf-core.

madrimas avatar madrimas commented on September 28, 2024

Hi @sam0r040, that's great! I look forward to hearing more good news

from springwolf-core.

github-actions avatar github-actions commented on September 28, 2024

The change is staged for release and will be part of the next release.

If you want to try and verify it in your application today,
use the latest 1.X.0-SNAPSHOT build as described in our README.md > Testing SNAPSHOT version

Thank you for the report/contribution!

from springwolf-core.

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.