diff options
author | JakobDev <jakobdev@gmx.de> | 2023-09-13 04:37:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 10:37:54 +0800 |
commit | aaeec2a3925c8e45c14179a3e6260b92e53197d2 (patch) | |
tree | 09fb0d741cf32adb316e4eedabc0e30fc604f89d /templates/swagger | |
parent | 8ecdc93f8b04f2d2e2e26bedb25fde045f0aff64 (diff) | |
download | gitea-aaeec2a3925c8e45c14179a3e6260b92e53197d2.tar.gz gitea-aaeec2a3925c8e45c14179a3e6260b92e53197d2.zip |
Add missing 404 response to Swagger (#27038)
Most middleware throw a 404 in case something is not found e.g. a Repo
that is not existing. But most API endpoints don't include the 404
response in their documentation. This PR changes this.
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 450 |
1 files changed, 450 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 03beca3f73..88dc9ea1ce 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1394,6 +1394,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -1487,6 +1490,9 @@ "responses": { "200": { "$ref": "#/responses/Organization" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -1511,6 +1517,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -1546,6 +1555,9 @@ "responses": { "200": { "$ref": "#/responses/Organization" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -1584,6 +1596,9 @@ "responses": { "200": { "$ref": "#/responses/SecretList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -1757,6 +1772,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -1781,6 +1799,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -1819,6 +1840,9 @@ "responses": { "200": { "$ref": "#/responses/HookList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -1854,6 +1878,9 @@ "responses": { "201": { "$ref": "#/responses/Hook" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -1888,6 +1915,9 @@ "responses": { "200": { "$ref": "#/responses/Hook" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -1920,6 +1950,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -1962,6 +1995,9 @@ "responses": { "200": { "$ref": "#/responses/Hook" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -2000,6 +2036,9 @@ "responses": { "200": { "$ref": "#/responses/LabelList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -2035,6 +2074,9 @@ "201": { "$ref": "#/responses/Label" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -2071,6 +2113,9 @@ "responses": { "200": { "$ref": "#/responses/Label" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -2100,6 +2145,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -2143,6 +2191,9 @@ "200": { "$ref": "#/responses/Label" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -2183,6 +2234,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -2250,6 +2304,9 @@ "responses": { "204": { "description": "member removed" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -2288,6 +2345,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -2355,6 +2415,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -2389,6 +2452,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -2427,6 +2493,9 @@ "responses": { "200": { "$ref": "#/responses/RepositoryList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -2508,6 +2577,9 @@ "responses": { "200": { "$ref": "#/responses/TeamList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -2543,6 +2615,9 @@ "201": { "$ref": "#/responses/Team" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -2609,6 +2684,9 @@ } } } + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -2682,6 +2760,9 @@ "responses": { "200": { "$ref": "#/responses/PackageList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -3150,6 +3231,9 @@ "responses": { "200": { "$ref": "#/responses/Repository" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -3184,6 +3268,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -3227,6 +3314,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -3466,6 +3556,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -3506,6 +3599,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -3537,6 +3633,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -3985,6 +4084,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -4077,6 +4179,9 @@ "204": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -4118,6 +4223,9 @@ "204": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -4308,6 +4416,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -4389,6 +4500,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -4749,6 +4863,9 @@ "responses": { "200": { "$ref": "#/responses/FileResponse" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -4843,6 +4960,9 @@ "responses": { "200": { "$ref": "#/responses/RepositoryList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -4885,6 +5005,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "409": { "description": "The repository with the same name already exists." }, @@ -4933,6 +5056,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5219,6 +5345,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5280,6 +5409,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5325,6 +5457,9 @@ "responses": { "200": { "$ref": "#/responses/HookList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -5366,6 +5501,9 @@ "responses": { "201": { "$ref": "#/responses/Hook" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5399,6 +5537,9 @@ "responses": { "200": { "$ref": "#/responses/GitHookList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5663,6 +5804,9 @@ "responses": { "200": { "$ref": "#/responses/Hook" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5710,6 +5854,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5743,6 +5890,9 @@ "responses": { "200": { "$ref": "#/responses/RepoIssueConfig" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5776,6 +5926,9 @@ "responses": { "200": { "$ref": "#/responses/RepoIssueConfigValidation" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5809,6 +5962,9 @@ "responses": { "200": { "$ref": "#/responses/IssueTemplates" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -5925,6 +6081,9 @@ "responses": { "200": { "$ref": "#/responses/IssueList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -5970,6 +6129,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "412": { "$ref": "#/responses/error" }, @@ -6034,6 +6196,9 @@ "responses": { "200": { "$ref": "#/responses/CommentList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -6501,6 +6666,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -6556,6 +6724,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -6608,6 +6779,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -6641,6 +6815,9 @@ "responses": { "200": { "$ref": "#/responses/IssueList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -7104,6 +7281,9 @@ "responses": { "200": { "$ref": "#/responses/IssueList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -7197,6 +7377,9 @@ "responses": { "200": { "$ref": "#/responses/Issue" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -7252,6 +7435,9 @@ "responses": { "200": { "$ref": "#/responses/CommentList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -7304,6 +7490,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -7531,6 +7720,9 @@ "responses": { "200": { "$ref": "#/responses/IssueList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -7624,6 +7816,9 @@ "responses": { "200": { "$ref": "#/responses/Issue" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -7720,6 +7915,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -7772,6 +7970,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -7814,6 +8015,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -7867,6 +8071,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -8066,6 +8273,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -8121,6 +8331,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -8173,6 +8386,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -8623,6 +8839,9 @@ "responses": { "200": { "$ref": "#/responses/TimelineList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -8754,6 +8973,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -8802,6 +9024,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -8860,6 +9085,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -8917,6 +9145,9 @@ "responses": { "200": { "$ref": "#/responses/DeployKeyList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -8959,6 +9190,9 @@ "201": { "$ref": "#/responses/DeployKey" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -9002,6 +9236,9 @@ "responses": { "200": { "$ref": "#/responses/DeployKey" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9041,6 +9278,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -9086,6 +9326,9 @@ "responses": { "200": { "$ref": "#/responses/LabelList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9128,6 +9371,9 @@ "201": { "$ref": "#/responses/Label" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -9171,6 +9417,9 @@ "responses": { "200": { "$ref": "#/responses/Label" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9207,6 +9456,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9257,6 +9509,9 @@ "200": { "$ref": "#/responses/Label" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -9398,6 +9653,9 @@ "responses": { "200": { "$ref": "#/responses/MilestoneList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9439,6 +9697,9 @@ "responses": { "201": { "$ref": "#/responses/Milestone" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -9479,6 +9740,9 @@ "responses": { "200": { "$ref": "#/responses/Milestone" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9514,6 +9778,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9562,6 +9829,9 @@ "responses": { "200": { "$ref": "#/responses/Milestone" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -9598,6 +9868,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -9631,6 +9904,9 @@ "responses": { "200": { "$ref": "#/responses/RepoNewIssuePinsAllowed" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -9876,6 +10152,9 @@ "responses": { "200": { "$ref": "#/responses/PullRequestList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -9918,6 +10197,9 @@ "201": { "$ref": "#/responses/PullRequest" }, + "404": { + "$ref": "#/responses/notFound" + }, "409": { "$ref": "#/responses/error" }, @@ -9956,6 +10238,9 @@ "responses": { "200": { "$ref": "#/responses/PullRequestList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -10053,6 +10338,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "409": { "$ref": "#/responses/error" }, @@ -10343,6 +10631,9 @@ "200": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "405": { "$ref": "#/responses/empty" }, @@ -10889,6 +11180,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -10944,6 +11238,9 @@ "403": { "$ref": "#/responses/forbidden" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/validationError" } @@ -11060,6 +11357,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -11107,6 +11407,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -11146,6 +11449,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -11192,6 +11498,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -11348,6 +11657,9 @@ "responses": { "200": { "$ref": "#/responses/ReleaseList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -11694,6 +12006,9 @@ "responses": { "200": { "$ref": "#/responses/AttachmentList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -11752,6 +12067,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -11801,6 +12119,9 @@ "responses": { "200": { "$ref": "#/responses/Attachment" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -11848,6 +12169,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -11905,6 +12229,9 @@ "responses": { "201": { "$ref": "#/responses/Attachment" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -11938,6 +12265,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12019,6 +12349,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12100,6 +12433,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -12148,6 +12484,9 @@ }, "400": { "$ref": "#/responses/error" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12193,6 +12532,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12254,6 +12596,9 @@ "responses": { "200": { "$ref": "#/responses/WatchInfo" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -12282,6 +12627,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12327,6 +12675,9 @@ "responses": { "200": { "$ref": "#/responses/TagList" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -12497,6 +12848,9 @@ "responses": { "200": { "$ref": "#/responses/TeamList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12582,6 +12936,9 @@ "204": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "405": { "$ref": "#/responses/error" }, @@ -12626,6 +12983,9 @@ "204": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "405": { "$ref": "#/responses/error" }, @@ -12702,6 +13062,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12749,6 +13112,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -12794,6 +13160,9 @@ "responses": { "200": { "$ref": "#/responses/TopicNames" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -12833,6 +13202,9 @@ "204": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/invalidTopicsError" } @@ -12876,6 +13248,9 @@ "204": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/invalidTopicsError" } @@ -12917,6 +13292,9 @@ "204": { "$ref": "#/responses/empty" }, + "404": { + "$ref": "#/responses/notFound" + }, "422": { "$ref": "#/responses/invalidTopicsError" } @@ -13094,6 +13472,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -13229,6 +13610,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -13408,6 +13792,9 @@ "responses": { "200": { "$ref": "#/responses/Repository" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -13523,6 +13910,9 @@ "responses": { "200": { "$ref": "#/responses/Team" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -13545,6 +13935,9 @@ "responses": { "204": { "description": "team deleted" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -13579,6 +13972,9 @@ "responses": { "200": { "$ref": "#/responses/Team" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -13667,6 +14063,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -13813,6 +14212,9 @@ "responses": { "200": { "$ref": "#/responses/RepositoryList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -13899,6 +14301,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -13942,6 +14347,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -13983,6 +14391,9 @@ }, "403": { "$ref": "#/responses/forbidden" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -14452,6 +14863,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -14473,6 +14887,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -14949,6 +15366,9 @@ "responses": { "200": { "$ref": "#/responses/OrganizationList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15150,6 +15570,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } }, @@ -15178,6 +15601,9 @@ "responses": { "204": { "$ref": "#/responses/empty" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15498,6 +15924,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15536,6 +15965,9 @@ "responses": { "200": { "$ref": "#/responses/UserList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15607,6 +16039,9 @@ "responses": { "200": { "$ref": "#/responses/GPGKeyList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15680,6 +16115,9 @@ "responses": { "200": { "$ref": "#/responses/PublicKeyList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15718,6 +16156,9 @@ "responses": { "200": { "$ref": "#/responses/OrganizationList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15795,6 +16236,9 @@ "responses": { "200": { "$ref": "#/responses/RepositoryList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15833,6 +16277,9 @@ "responses": { "200": { "$ref": "#/responses/RepositoryList" + }, + "404": { + "$ref": "#/responses/notFound" } } } @@ -15871,6 +16318,9 @@ "responses": { "200": { "$ref": "#/responses/RepositoryList" + }, + "404": { + "$ref": "#/responses/notFound" } } } |