DEV: Fix missing optional site.json fields (#17364)

The site.json endpoint was missing some optional fields on the
categories property that is returned. This commit documents the
`parent_category_id` which is present if there are subcategories and it
also documents the `custom_fields` property which the chat plugin is
using causing some flaky tests.
This commit is contained in:
Blake Erickson
2022-07-07 20:04:50 -05:00
committed by GitHub
parent d9eab4bbbb
commit 59d514df34
2 changed files with 24 additions and 6 deletions

View File

@@ -634,6 +634,16 @@
},
"can_edit": {
"type": "boolean"
},
"custom_fields": {
"type": [
"object",
"null"
],
"additionalProperties": true
},
"parent_category_id": {
"type": "integer"
}
},
"required": [