Skip to content

Commit 9bc2ecc

Browse files
authored
fix: Fix Metadata Taxonomy GET options path (#573)
1 parent d5c2b44 commit 9bc2ecc

File tree

3 files changed

+13
-21
lines changed

3 files changed

+13
-21
lines changed

openapi.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "8386faa220"
17+
"x-box-commit-hash": "770a648384"
1818
},
1919
"servers": [
2020
{
@@ -26516,25 +26516,21 @@
2651626516
"x-box-requires-admin": true
2651726517
}
2651826518
},
26519-
"/metadata_templates/{scope}/{template_key}/fields/{field_key}/options": {
26519+
"/metadata_templates/{namespace}/{template_key}/fields/{field_key}/options": {
2652026520
"get": {
2652126521
"operationId": "get_metadata_templates_id_id_fields_id_options",
2652226522
"summary": "List metadata template's options for taxonomy field",
2652326523
"description": "Used to retrieve metadata taxonomy nodes which are available for the taxonomy field based \non its configuration and the parameters specified. \nResults are sorted in lexicographic order unless a `query` parameter is passed. \nWith a `query` parameter specified, results are sorted in order of relevance.",
2652426524
"parameters": [
2652526525
{
26526-
"name": "scope",
26526+
"name": "namespace",
2652726527
"in": "path",
26528-
"description": "The scope of the metadata template.",
26528+
"description": "The namespace of the metadata taxonomy.",
2652926529
"required": true,
2653026530
"schema": {
26531-
"type": "string",
26532-
"enum": [
26533-
"global",
26534-
"enterprise"
26535-
]
26531+
"type": "string"
2653626532
},
26537-
"example": "global"
26533+
"example": "enterprise_123456"
2653826534
},
2653926535
{
2654026536
"name": "template_key",

openapi/openapi-v2025.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2025.0",
17-
"x-box-commit-hash": "8386faa220"
17+
"x-box-commit-hash": "770a648384"
1818
},
1919
"servers": [
2020
{

openapi/openapi.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "https://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "8386faa220"
17+
"x-box-commit-hash": "770a648384"
1818
},
1919
"servers": [
2020
{
@@ -26516,25 +26516,21 @@
2651626516
"x-box-requires-admin": true
2651726517
}
2651826518
},
26519-
"/metadata_templates/{scope}/{template_key}/fields/{field_key}/options": {
26519+
"/metadata_templates/{namespace}/{template_key}/fields/{field_key}/options": {
2652026520
"get": {
2652126521
"operationId": "get_metadata_templates_id_id_fields_id_options",
2652226522
"summary": "List metadata template's options for taxonomy field",
2652326523
"description": "Used to retrieve metadata taxonomy nodes which are available for the taxonomy field based \non its configuration and the parameters specified. \nResults are sorted in lexicographic order unless a `query` parameter is passed. \nWith a `query` parameter specified, results are sorted in order of relevance.",
2652426524
"parameters": [
2652526525
{
26526-
"name": "scope",
26526+
"name": "namespace",
2652726527
"in": "path",
26528-
"description": "The scope of the metadata template.",
26528+
"description": "The namespace of the metadata taxonomy.",
2652926529
"required": true,
2653026530
"schema": {
26531-
"type": "string",
26532-
"enum": [
26533-
"global",
26534-
"enterprise"
26535-
]
26531+
"type": "string"
2653626532
},
26537-
"example": "global"
26533+
"example": "enterprise_123456"
2653826534
},
2653926535
{
2654026536
"name": "template_key",

0 commit comments

Comments
 (0)