diff --git a/tools/cli/internal/cli/filter/filter_test.go b/tools/cli/internal/cli/filter/filter_test.go index 54e09e2a22..456be5b321 100644 --- a/tools/cli/internal/cli/filter/filter_test.go +++ b/tools/cli/internal/cli/filter/filter_test.go @@ -47,7 +47,7 @@ func TestSuccessfulFilter_Run(t *testing.T) { for _, pathItem := range newSpec.Spec.Paths.Map() { for _, operation := range pathItem.Operations() { // check extensions are removed at the operation level - require.Nil(t, operation.Extensions) + require.Nil(t, operation.Extensions["x-xgen-owner-team"]) } } } diff --git a/tools/cli/internal/openapi/filter/README.md b/tools/cli/internal/openapi/filter/README.md index 3c6584d74e..a00ba50a7d 100644 --- a/tools/cli/internal/openapi/filter/README.md +++ b/tools/cli/internal/openapi/filter/README.md @@ -11,7 +11,7 @@ The Atlas Admin API OpenAPI specifications are used not only to document REST en [ExtensionFilter: is a filter that removes the x-xgen-IPA-exception extension from the OpenAPI spec.](../internal/openapi/filter/extension.go?plain=1#L21) [HiddenEnvsFilter: is a filter that removes paths, operations,](../internal/openapi/filter/hidden_envs.go?plain=1#L28) [InfoVersioningFilter: Filter that modifies the Info object in the OpenAPI spec with the target version.](../internal/openapi/filter/info.go?plain=1#L23) -[OperationsFilter: is a filter that removes the x-xgen-owner-team extension from operations](../internal/openapi/filter/operations.go?plain=1#L20) +[OperationsFilter: is a filter that removes the x-xgen-owner-team extension from operations.](../internal/openapi/filter/operations.go?plain=1#L20) [TagsFilter: removes tags that are not used in the operations.](../internal/openapi/filter/tags.go?plain=1#L23) [VersioningExtensionFilter: is a filter that updates the x-sunset and x-xgen-version extensions to a date string](../internal/openapi/filter/versioning_extension.go?plain=1#L25) [VersioningFilter: is a filter that modifies the OpenAPI spec by removing operations and responses](../internal/openapi/filter/versioning.go?plain=1#L25) diff --git a/tools/cli/internal/openapi/filter/operations.go b/tools/cli/internal/openapi/filter/operations.go index 3ff673cd44..65b3760ba5 100644 --- a/tools/cli/internal/openapi/filter/operations.go +++ b/tools/cli/internal/openapi/filter/operations.go @@ -17,7 +17,7 @@ import ( "github.com/getkin/kin-openapi/openapi3" ) -// OperationsFilter: is a filter that removes the x-xgen-owner-team and x-xgen-changelog extension from operations. +// OperationsFilter: is a filter that removes the x-xgen-owner-team extension from operations. type OperationsFilter struct { oas *openapi3.T } @@ -35,7 +35,6 @@ func (f *OperationsFilter) Apply() error { for _, operation := range pathItem.Operations() { if operation.Extensions != nil { delete(operation.Extensions, "x-xgen-owner-team") - delete(operation.Extensions, "x-xgen-changelog") } } } diff --git a/tools/cli/test/data/split/dev/openapi-mms.json b/tools/cli/test/data/split/dev/openapi-mms.json index aaa6507f20..2468f39850 100644 --- a/tools/cli/test/data/split/dev/openapi-mms.json +++ b/tools/cli/test/data/split/dev/openapi-mms.json @@ -16292,9 +16292,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-08-02": "If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields" - }, "x-xgen-owner-team": "Atlas Online Archive II" } }, @@ -23654,7 +23651,10 @@ "x-xgen-hidden-env": { "envs": "qa,prod" }, - "x-xgen-owner-team": "Atlas Serverless II" + "x-xgen-owner-team": "Atlas Serverless II", + "x-xgen-changelog": { + "2025-03-02": "Changelog test entry." + } }, "patch": { "tags": ["USS Instances"], @@ -26028,9 +26028,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" }, "post": { @@ -26099,9 +26096,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" } }, @@ -26152,9 +26146,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" }, "post": { @@ -26211,9 +26202,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" } }, @@ -26276,9 +26264,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" }, "delete": { @@ -26345,9 +26330,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" }, "patch": { @@ -26428,9 +26410,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" } }, @@ -26495,9 +26474,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" }, "delete": { @@ -26555,9 +26531,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" }, "patch": { @@ -26629,9 +26602,6 @@ "DigestAuth": [] } ], - "x-xgen-changelog": { - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - }, "x-xgen-owner-team": "Atlas Streams" } }, diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json index 8729ffc5ef..39f7b8a64b 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.json @@ -19542,6 +19542,9 @@ "security" : [ { "DigestAuth" : [ ] } ], + "x-xgen-changelog": { + "2025-03-02": "Changelog test entry." + }, "summary" : "Remove One USS Instance from One Project", "tags" : [ "USS Instances" ] }, diff --git a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml index 9bb9df3e31..4e5e0c5080 100644 --- a/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2-2025-01-01.yaml @@ -15892,6 +15892,8 @@ paths: security: - DigestAuth: [] summary: Remove One USS Instance from One Project + x-xgen-changelog: + "2025-03-02": Changelog test entry. tags: - USS Instances get: diff --git a/tools/cli/test/data/split/dev/openapi-v2.json b/tools/cli/test/data/split/dev/openapi-v2.json index 9bcf3c68e6..0bf1265681 100644 --- a/tools/cli/test/data/split/dev/openapi-v2.json +++ b/tools/cli/test/data/split/dev/openapi-v2.json @@ -6985,10 +6985,7 @@ "DigestAuth" : [ ] } ], "summary" : "Create One Online Archive", - "tags" : [ "Online Archive" ], - "x-xgen-changelog" : { - "2023-08-02" : "If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields" - } + "tags" : [ "Online Archive" ] } }, "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz" : { @@ -18176,10 +18173,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return All Project Stream Instances", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "post" : { "description" : "Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role.", @@ -18228,10 +18222,7 @@ "DigestAuth" : [ ] } ], "summary" : "Create One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" : { @@ -18282,10 +18273,7 @@ "DigestAuth" : [ ] } ], "summary" : "Delete One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "get" : { "description" : "Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role.", @@ -18339,10 +18327,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "patch" : { "description" : "Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role.", @@ -18405,10 +18390,7 @@ "DigestAuth" : [ ] } ], "summary" : "Update One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs" : { @@ -18537,10 +18519,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return All Connections Of The Stream Instances", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "post" : { "description" : "Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role.", @@ -18600,10 +18579,7 @@ "DigestAuth" : [ ] } ], "summary" : "Create One Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" : { @@ -18662,10 +18638,7 @@ "DigestAuth" : [ ] } ], "summary" : "Delete One Stream Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "get" : { "description" : "Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role.", @@ -18717,10 +18690,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return One Stream Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "patch" : { "description" : "Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role.", @@ -18791,10 +18761,7 @@ "DigestAuth" : [ ] } ], "summary" : "Update One Stream Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" : { @@ -19964,6 +19931,9 @@ "security" : [ { "DigestAuth" : [ ] } ], + "x-xgen-changelog": { + "2025-03-02": "Changelog test entry." + }, "summary" : "Remove One USS Instance from One Project", "tags" : [ "USS Instances" ] }, diff --git a/tools/cli/test/data/split/dev/openapi-v2.yaml b/tools/cli/test/data/split/dev/openapi-v2.yaml index cd908f140e..d20a265ad9 100644 --- a/tools/cli/test/data/split/dev/openapi-v2.yaml +++ b/tools/cli/test/data/split/dev/openapi-v2.yaml @@ -5601,9 +5601,6 @@ paths: summary: Create One Online Archive tags: - Online Archive - x-xgen-changelog: - "2023-08-02": "If 'criteria':'DATE' is specified, then you must specify 'DATE'\ - \ values in partition fields" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: "Downloads query logs for the specified online archive. To use\ @@ -14839,9 +14836,6 @@ paths: summary: Return All Project Stream Instances tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." post: description: "Creates one stream instance in the specified project. To use this\ \ resource, the requesting API Key must have the Project Data Access Admin\ @@ -14877,9 +14871,6 @@ paths: summary: Create One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: "Delete one stream instance in the specified project. To use this\ @@ -14917,9 +14908,6 @@ paths: summary: Delete One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." get: description: "Returns the details of one stream instance within the specified\ \ project. To use this resource, the requesting API Key must have the Project\ @@ -14962,9 +14950,6 @@ paths: summary: Return One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." patch: description: "Update one stream instance in the specified project. To use this\ \ resource, the requesting API Key must have the Project Data Access Admin\ @@ -15011,9 +14996,6 @@ paths: summary: Update One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: "Downloads the audit logs for the specified Atlas Streams Processing\ @@ -15118,9 +15100,6 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." post: description: "Creates one connection for a stream instance in the specified\ \ project. To use this resource, the requesting API Key must have the Project\ @@ -15165,9 +15144,6 @@ paths: summary: Create One Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: "Delete one connection of the specified stream instance. To use\ @@ -15211,9 +15187,6 @@ paths: summary: Delete One Stream Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." get: description: "Returns the details of one stream connection within the specified\ \ stream instance. To use this resource, the requesting API Key must have\ @@ -15254,9 +15227,6 @@ paths: summary: Return One Stream Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." patch: description: "Update one connection for the specified stream instance in the\ \ specified project. To use this resource, the requesting API Key must have\ @@ -15309,9 +15279,6 @@ paths: summary: Update One Stream Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor: post: description: "Create one Stream Processor within the specified stream instance.\ @@ -16183,6 +16150,8 @@ paths: security: - DigestAuth: [] summary: Remove One USS Instance from One Project + x-xgen-changelog: + "2025-03-02": Changelog test entry. tags: - USS Instances get: diff --git a/tools/cli/test/data/split/prod/openapi-v2.json b/tools/cli/test/data/split/prod/openapi-v2.json index 25554663f3..7e9dbcda57 100644 --- a/tools/cli/test/data/split/prod/openapi-v2.json +++ b/tools/cli/test/data/split/prod/openapi-v2.json @@ -6985,10 +6985,7 @@ "DigestAuth" : [ ] } ], "summary" : "Create One Online Archive", - "tags" : [ "Online Archive" ], - "x-xgen-changelog" : { - "2023-08-02" : "If 'criteria':'DATE' is specified, then you must specify 'DATE' values in partition fields" - } + "tags" : [ "Online Archive" ] } }, "/api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz" : { @@ -17513,10 +17510,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return All Project Stream Instances", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "post" : { "description" : "Creates one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role.", @@ -17565,10 +17559,7 @@ "DigestAuth" : [ ] } ], "summary" : "Create One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}" : { @@ -17619,10 +17610,7 @@ "DigestAuth" : [ ] } ], "summary" : "Delete One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "get" : { "description" : "Returns the details of one stream instance within the specified project. To use this resource, the requesting API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role.", @@ -17676,10 +17664,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "patch" : { "description" : "Update one stream instance in the specified project. To use this resource, the requesting API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role.", @@ -17742,10 +17727,7 @@ "DigestAuth" : [ ] } ], "summary" : "Update One Stream Instance", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs" : { @@ -17874,10 +17856,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return All Connections Of The Stream Instances", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "post" : { "description" : "Creates one connection for a stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner or Project Stream Processing Owner role.", @@ -17937,10 +17916,7 @@ "DigestAuth" : [ ] } ], "summary" : "Create One Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}" : { @@ -17999,10 +17975,7 @@ "DigestAuth" : [ ] } ], "summary" : "Delete One Stream Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "get" : { "description" : "Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting API Key must have the Project Read Only role.", @@ -18054,10 +18027,7 @@ "DigestAuth" : [ ] } ], "summary" : "Return One Stream Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] }, "patch" : { "description" : "Update one connection for the specified stream instance in the specified project. To use this resource, the requesting API Key must have the Project Owner role or Project Stream Processing Owner role.", @@ -18128,10 +18098,7 @@ "DigestAuth" : [ ] } ], "summary" : "Update One Stream Connection", - "tags" : [ "Streams" ], - "x-xgen-changelog" : { - "2023-09-11" : "The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA." - } + "tags" : [ "Streams" ] } }, "/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor" : { diff --git a/tools/cli/test/data/split/prod/openapi-v2.yaml b/tools/cli/test/data/split/prod/openapi-v2.yaml index 5297489ffe..ac0fece0e9 100644 --- a/tools/cli/test/data/split/prod/openapi-v2.yaml +++ b/tools/cli/test/data/split/prod/openapi-v2.yaml @@ -5601,9 +5601,6 @@ paths: summary: Create One Online Archive tags: - Online Archive - x-xgen-changelog: - "2023-08-02": "If 'criteria':'DATE' is specified, then you must specify 'DATE'\ - \ values in partition fields" /api/atlas/v2/groups/{groupId}/clusters/{clusterName}/onlineArchives/queryLogs.gz: get: description: "Downloads query logs for the specified online archive. To use\ @@ -14356,9 +14353,6 @@ paths: summary: Return All Project Stream Instances tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." post: description: "Creates one stream instance in the specified project. To use this\ \ resource, the requesting API Key must have the Project Data Access Admin\ @@ -14394,9 +14388,6 @@ paths: summary: Create One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: description: "Delete one stream instance in the specified project. To use this\ @@ -14434,9 +14425,6 @@ paths: summary: Delete One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." get: description: "Returns the details of one stream instance within the specified\ \ project. To use this resource, the requesting API Key must have the Project\ @@ -14479,9 +14467,6 @@ paths: summary: Return One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." patch: description: "Update one stream instance in the specified project. To use this\ \ resource, the requesting API Key must have the Project Data Access Admin\ @@ -14528,9 +14513,6 @@ paths: summary: Update One Stream Instance tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: description: "Downloads the audit logs for the specified Atlas Streams Processing\ @@ -14635,9 +14617,6 @@ paths: summary: Return All Connections Of The Stream Instances tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." post: description: "Creates one connection for a stream instance in the specified\ \ project. To use this resource, the requesting API Key must have the Project\ @@ -14682,9 +14661,6 @@ paths: summary: Create One Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: description: "Delete one connection of the specified stream instance. To use\ @@ -14728,9 +14704,6 @@ paths: summary: Delete One Stream Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." get: description: "Returns the details of one stream connection within the specified\ \ stream instance. To use this resource, the requesting API Key must have\ @@ -14771,9 +14744,6 @@ paths: summary: Return One Stream Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." patch: description: "Update one connection for the specified stream instance in the\ \ specified project. To use this resource, the requesting API Key must have\ @@ -14826,9 +14796,6 @@ paths: summary: Update One Stream Connection tags: - Streams - x-xgen-changelog: - "2023-09-11": "The MongoDB Atlas Streams Processing API is now exposed as\ - \ part of private preview, but is subject to change until GA." /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor: post: description: "Create one Stream Processor within the specified stream instance.\