Reorganized query and path parameters constants

This commit is contained in:
Luca Frosini 2022-07-20 12:09:51 +02:00
parent 58e80626a7
commit 73de846d82
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ public class ResourceRegistrySchemaClientImpl implements ResourceRegistrySchemaC
gxHTTPStringRequest.path(typeName);
Map<String,String> parameters = new HashMap<>();
parameters.put(TypePath.POLYMORPHIC_PARAM, Boolean.FALSE.toString());
parameters.put(TypePath.POLYMORPHIC_QUERY_PARAMETER, Boolean.FALSE.toString());
gxHTTPStringRequest.queryParams(parameters);
HttpURLConnection httpURLConnection = gxHTTPStringRequest.head();
@ -143,7 +143,7 @@ public class ResourceRegistrySchemaClientImpl implements ResourceRegistrySchemaC
Map<String,String> parameters = new HashMap<>();
if(polymorphic != null) {
parameters.put(TypePath.POLYMORPHIC_PARAM, polymorphic.toString());
parameters.put(TypePath.POLYMORPHIC_QUERY_PARAMETER, polymorphic.toString());
}
gxHTTPStringRequest.queryParams(parameters);