Skip to content

Commit 84b18be

Browse files
committed
Document standard status codes
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent e773911 commit 84b18be

2 files changed

Lines changed: 407 additions & 0 deletions

File tree

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"title": "RFC 9110 HTTP Standard Status Code",
4+
"description": "An HTTP status code explicitly defined in RFC 9110 section 15",
5+
"$comment": "https://www.rfc-editor.org/rfc/rfc9110#section-15",
6+
"examples": [ 200, 404, 500 ],
7+
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
8+
"enum": [
9+
100,
10+
101,
11+
200,
12+
201,
13+
202,
14+
203,
15+
204,
16+
205,
17+
206,
18+
300,
19+
301,
20+
302,
21+
303,
22+
304,
23+
305,
24+
306,
25+
307,
26+
308,
27+
400,
28+
401,
29+
402,
30+
403,
31+
404,
32+
405,
33+
406,
34+
407,
35+
408,
36+
409,
37+
410,
38+
411,
39+
412,
40+
413,
41+
414,
42+
415,
43+
416,
44+
417,
45+
418,
46+
421,
47+
422,
48+
426,
49+
500,
50+
501,
51+
502,
52+
503,
53+
504,
54+
505
55+
]
56+
}

0 commit comments

Comments
 (0)