This commit is contained in:
Stéphane Nicoll
2025-10-20 13:33:00 +02:00
parent 93039fb472
commit 1b1801adb1
5 changed files with 8 additions and 8 deletions
@@ -51,14 +51,14 @@ class InitializrService {
private static final String FILENAME_HEADER_PREFIX = "filename=\"";
/**
* Accept header to use to retrieve the json meta-data.
* Accept header to use to retrieve the JSON meta-data.
*/
public static final String ACCEPT_META_DATA = "application/vnd.initializr.v2.1+"
+ "json,application/vnd.initializr.v2+json";
/**
* Accept header to use to retrieve the service capabilities of the service. If the
* service does not offer such feature, the json meta-data are retrieved instead.
* service does not offer such feature, the JSON meta-data are retrieved instead.
*/
public static final String ACCEPT_SERVICE_CAPABILITIES = "text/plain," + ACCEPT_META_DATA;