Skip to content

Commit

Permalink
clarifies the level property
Browse files Browse the repository at this point in the history
  • Loading branch information
akolson committed Feb 1, 2024
1 parent b6c558b commit 55fe5d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions js/EmbedTopicsRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const SCHEMA = {
},
"level": {
"type": "integer",
"description": "The level of the ancestor, where the parent is 1 and the root is the highest level"
"description": "The level of the ancestor, where the root is 0 and the parent is the highest level"
},
"ancestor": {
"type": "object",
Expand Down Expand Up @@ -61,7 +61,7 @@ export const SCHEMA = {
},
"ancestors": {
"type": "array",
"description": "The ancestors of the topic, in order, from the parent to the root",
"description": "The ancestors of the topic. Please see 'level' in the ancestor schema for more information",
"items": {
"$ref": "#/definitions/ancestor"
}
Expand Down
4 changes: 2 additions & 2 deletions le_utils/constants/embed_topics_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"level": {
"type": "integer",
"description": "The level of the ancestor, where the parent is 1 and the root is the highest level",
"description": "The level of the ancestor, where the root is 0 and the parent is the highest level",
},
"ancestor": {
"type": "object",
Expand All @@ -49,7 +49,7 @@
},
"ancestors": {
"type": "array",
"description": "The ancestors of the topic, in order, from the parent to the root",
"description": "The ancestors of the topic. Please see 'level' in the ancestor schema for more information",
"items": {"$ref": "#/definitions/ancestor"},
},
"topic": {
Expand Down
4 changes: 2 additions & 2 deletions spec/schema-embed_topics_request.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"level": {
"type": "integer",
"description": "The level of the ancestor, where the parent is 1 and the root is the highest level"
"description": "The level of the ancestor, where the root is 0 and the parent is the highest level"
},
"ancestor": {
"type": "object",
Expand Down Expand Up @@ -56,7 +56,7 @@
},
"ancestors": {
"type": "array",
"description": "The ancestors of the topic, in order, from the parent to the root",
"description": "The ancestors of the topic. Please see 'level' in the ancestor schema for more information",
"items": {
"$ref": "#/definitions/ancestor"
}
Expand Down

0 comments on commit 55fe5d4

Please sign in to comment.