mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-17 09:35:53 +08:00
Polish "Rename versionRange attribute to compatibilityRange"
See gh-968
This commit is contained in:
@@ -29,8 +29,8 @@ import org.springframework.hateoas.UriTemplate;
|
||||
/**
|
||||
* A {@link InitializrMetadataJsonMapper} handling the metadata format for v2.1
|
||||
* <p>
|
||||
* Version 2.1 brings the "versionRange" attribute for a dependency to restrict the Spring
|
||||
* Boot versions that can be used against it. That version also adds an additional
|
||||
* Version 2.1 brings the "compatibilityRange" attribute for a dependency to restrict the
|
||||
* Spring Boot versions that can be used against it. That version also adds an additional
|
||||
* `dependencies` endpoint.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
|
||||
@@ -31,7 +31,7 @@ public enum InitializrMetadataVersion {
|
||||
V2("application/vnd.initializr.v2+json"),
|
||||
|
||||
/**
|
||||
* Add "versionRange" attribute to any dependency to specify which Spring Boot
|
||||
* Add "compatibilityRange" attribute to any dependency to specify which Spring Boot
|
||||
* versions are compatible with it. Also provide a separate "dependencies" endpoint to
|
||||
* query dependencies metadata.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user