Skip to content

An example application used to explore REST API versioning in Spring Boot

Notifications You must be signed in to change notification settings

uptech/spring-boot-rest-api-versioning-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot REST API Versioning Example

I created this repository as I needed a simple playground to explore and test which versioning practice I thought was the best when working with Spring Boot.

Conclusion

I have concluded that I prefer using the HTTP Content negotiation headers (Content-Type and Accept) with custom MIME types to manage versioning. It follows the HTTP specification and is generally supported by out of the box by most web frameworks. Also, because it is part of the HTTP specification it already has a formal protocol defined around communicating incorrect versioning requests, etc. via well defined status codes.

Run

mvn spring-boot:run

Testing References

Concepts

Tools

Tactics

About

An example application used to explore REST API versioning in Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages