Coder Social home page Coder Social logo

Comments (2)

plavjanik avatar plavjanik commented on June 19, 2024

The new sample has been recreated from scratch using the https://start.spring.io/ generator and that has not used the context path and the sample has not changed it.

I am not sure what was the reason to use it in the old sample.

I tend to keep the configuration concise and I reused only the code (and config) that was adding some functionality.

What are the pros and cons of having the context path set and not set? It can make sense to keep it consistent with the previous sample. The advantage of not setting it is that you do not need to know it and you can just know the hostname and port to access the homepage (Swagger UI in case of the sample). Example: when I was onboarding Endevor using static YML, I did not know what is the home page. I could not find it in the documentation. Everything that made sense to me ended up with 404. I had to ask several developers of Endevor to be able to issue a REST API request.

from sample-spring-boot-api-service.

dkelosky avatar dkelosky commented on June 19, 2024

I like it without context path and really like the concise configuration.

Users of the new SDK have lots of positives but are noticing a few differences. I'll close this for future teams researching about the context path change.

Thank you!

from sample-spring-boot-api-service.

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.