bchapuis commented on code in PR #658:
URL: 
https://github.com/apache/incubator-baremaps/pull/658#discussion_r1196398796


##########
baremaps-server/src/main/java/org/apache/baremaps/server/TileJSON/Field.java:
##########
@@ -0,0 +1,16 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not 
use this file except
+ * in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software 
distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
KIND, either express
+ * or implied. See the License for the specific language governing permissions 
and limitations under
+ * the License.
+ */
+
+package org.apache.baremaps.server.TileJSON;
+
+public class Field {

Review Comment:
   Interesting, thank you for the clarification. I wonder if using an Object 
instead of a Field would give the flexibility to put a Map in this attribute. 
What do you think? Both alternatives are fine for me.
   
   ```java
   @JsonProperty("fields")
   @Valid
   @NotNull Field fields,
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to