~vpzom/lotide

6f96d41972c9d45b77ff88f5afee6f45985f8c81 — Colin Reeder 2 months ago aceb3e4 sticky
Update API docs for sticky changes
1 files changed, 11 insertions(+), 2 deletions(-)

M openapi/openapi.json
M openapi/openapi.json => openapi/openapi.json +11 -2
@@ 122,7 122,7 @@
			},
			"SomePostInfo": {
				"type": "object",
				"required": ["id", "title", "created", "community", "score"],
				"required": ["id", "title", "created", "community", "score", "sticky"],
				"properties": {
					"id": {"type": "integer"},
					"title": {"type": "string"},


@@ 151,6 151,7 @@
						}
					},
					"score": {"type": "integer"},
					"sticky": {"type": "boolean"},
					"your_vote": {"$ref": "#/components/schemas/YourVote"}
				}
			},


@@ 822,6 823,13 @@
						"schema": {"$ref": "#/components/schemas/SortType"}
					},
					{
						"name": "sort_sticky",
						"in": "query",
						"required": false,
						"schema": {"type": "boolean"},
						"description": "If true, will sort sticky posts before everything else"
					},
					{
						"name": "include_your",
						"in": "query",
						"required": false,


@@ 867,7 875,8 @@
							"schema": {
								"type": "object",
								"properties": {
									"approved": {"type": "boolean"}
									"approved": {"type": "boolean"},
									"sticky": {"type": "boolean"}
								}
							}
						}