Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix flakey site.json rswag specs (#17161)

Blake Ericksona5552321cfde
diff --git a/spec/requests/api/schemas/json/site_response.json b/spec/requests/api/schemas/json/site_response.json
index 4eaf18b93c9..62055ef4b51 100644
--- a/spec/requests/api/schemas/json/site_response.json
+++ b/spec/requests/api/schemas/json/site_response.json
@@ -502,13 +502,22 @@
"type": "integer"
},
"description": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"description_text": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"description_excerpt": {
- "type": "string"
+ "type": [
+ "string",
+ "null"
+ ]
},
"topic_url": {
"type": "string"
@@ -636,9 +645,6 @@
"topic_count",
"post_count",
"position",
- "description",
- "description_text",
- "description_excerpt",
"topic_url",
"read_restricted",
"permission",