rdblue commented on a change in pull request #4039:
URL: https://github.com/apache/iceberg/pull/4039#discussion_r801173235



##########
File path: rest_docs/rest-catalog-open-api.yaml
##########
@@ -1381,15 +1381,35 @@ components:
               } }
 
     CreateNamespaceResponse:
-      description: A succesful call to create a namespace
+      description:
+        Represents a successful call to create a namespace.
+        Returns the namespace created, as well as any properties that were 
stored for the namespace,
+        including those the server might have added. Implemenations are not 
required to support namespace
+        properties.
       content:
         application/json:
           schema:
             type: object
+            required:
+              - namespace
             properties:
-              created:
-                type: boolean
-                description: true if the namespace was added to the catalog
+              namespace:
+                $ref: '#/components/schemas/Namespace'
+              properties:
+                type: object
+                additionalProperties:
+                  type: string
+                description:
+                  Properties stored on the namespace, if supported by the 
server.
+                  If the server does not support namespace properties, it 
should return null for this field.
+                  If namespace properties are supported, but none are set, it 
should return an empty object.
+                example: { "owner": "Ralph", "created_at": "1452120468" }
+                default: { }
+                nullable: true

Review comment:
       This isn't needed because it is handled by the `required` section.




-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to