Skip to content

Commit

Permalink
add format registry file
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Jan 15, 2025
1 parent 258d721 commit 0843b8a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions specs/format-registry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"int32": {
"definingBody": "OpenAPI",
"definition": "https://spec.openapis.org/oas/latest.html#data-type-format",
"types": ["number"],
"examples": [ -2147483648, -1, 0, 1, 2147483647 ],
"supportedBy": []
},
"int64": {
"definingBody": "OpenAPI",
"definition": "https://spec.openapis.org/oas/latest.html#data-type-format",
"types": ["number"],
"examples": [ -9223372036854775808, -1, 0, 1, 9223372036854775807 ],
"supportedBy": []
},
"float": {
"definingBody": "OpenAPI",
"definition": "https://spec.openapis.org/oas/latest.html#data-type-format",
"types": ["number"],
"examples": [ -3.40282347e+38, -1, -1.17549435e-38, 0, 1.17549435e-38, 1, 3.40282347e+38 ],
"supportedBy": []
},
"double": {
"definingBody": "OpenAPI",
"definition": "https://spec.openapis.org/oas/latest.html#data-type-format",
"types": ["number"],
"examples": [ -1.7976931348623157e+308, -1, -4.9406564584124654e-324, 0, 4.9406564584124654e-324, 1, 1.7976931348623157e+308 ],
"supportedBy": []
},
"password": {
"definingBody": "OpenAPI",
"definition": "https://spec.openapis.org/oas/latest.html#data-type-format",
"types": ["string"],
"examples": ["can be any string", "this format is just an annotation"],
"supportedBy": []
}
}

0 comments on commit 0843b8a

Please sign in to comment.