Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] docs: Adjust the position of the example to fit the Docusaurus OpenAPI plugin (#2047)

mchades71cdda1b0097
diff --git a/docs/open-api/partitions.yaml b/docs/open-api/partitions.yaml
index 2d0bc3a793..3d6fe1f747 100644
--- a/docs/open-api/partitions.yaml
+++ b/docs/open-api/partitions.yaml
@@ -30,6 +30,11 @@ paths:
oneOf:
- $ref: "#/components/schemas/PartitionNameListResponse"
- $ref: "#/components/schemas/PartitionListResponse"
+ examples:
+ PartitionNameListResponse:
+ $ref: "#/components/examples/PartitionNameListResponse"
+ PartitionListResponse:
+ $ref: "#/components/examples/PartitionListResponse"
"400":
$ref: "./openapi.yaml#/components/responses/BadRequestErrorResponse"
"5xx":
@@ -159,9 +164,6 @@ components:
description: A list of partition names
items:
type: string
- example:
- PartitionNameListResponse:
- $ref: "#/components/examples/PartitionNameListResponse"
PartitionListResponse:
type: object
@@ -178,9 +180,6 @@ components:
description: A list of partitions
items:
$ref: "#/components/schemas/PartitionSpec"
- example:
- PartitionListResponse:
- $ref: "#/components/examples/PartitionListResponse"
Properties: