~vpzom/lotide

ec5a5d4147233c5d307bab7f388b35609e91c162 — Colin Reeder a month ago 2f346de
Add PathUserID to docs
1 files changed, 9 insertions(+), 3 deletions(-)

M openapi/openapi.json
M openapi/openapi.json => openapi/openapi.json +9 -3
@@ 6,6 6,12 @@
	},
	"components": {
		"schemas": {
			"PathUserID": {
				"oneOf": [
					{"type": "string", "enum": ["~me"]},
					{"type": "integer"}
				]
			},
			"SortType": {
				"type": "string",
				"enum": ["hot", "new"]


@@ 1086,7 1092,7 @@
						"name": "userID",
						"in": "path",
						"required": true,
						"schema": {"type": "integer"}
						"schema": {"$ref": "#/components/schemas/PathUserID"}
					},
					{
						"name": "include_your",


@@ 1133,7 1139,7 @@
						"name": "userID",
						"in": "path",
						"required": true,
						"schema": {"type": "integer"}
						"schema": {"$ref": "#/components/schemas/PathUserID"}
					}
				],
				"responses": {


@@ 1186,7 1192,7 @@
						"name": "userID",
						"in": "path",
						"required": true,
						"schema": {"type": "integer"}
						"schema": {"$ref": "#/components/schemas/PathUserID"}
					}
				],
				"requestBody": {