Skip to content

Commit

Permalink
Schema!: Hotfix int64 format for datacenter
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianKoestler committed Aug 25, 2023
1 parent e52686e commit 52ffa58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openapi/hcloud.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"contact": {
"url": "https://docs.hetzner.cloud/"
},
"version": "aa169b2-dirty"
"version": "e52686e-dirty"
},
"servers": [
{
Expand Down Expand Up @@ -3903,7 +3903,8 @@
"recommendation": {
"description": "The Datacenter which is recommended to be used to create new Servers.",
"example": 1,
"type": "integer"
"type": "integer",
"format": "int64"
}
},
"required": [
Expand Down
6 changes: 6 additions & 0 deletions resources/document_transformations.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"format": "int64"
}
},
{
"path": ["components", "schemas", "list_datacenters_response", "properties", "recommendation"],
"set": {
"format": "int64"
}
},
{
"path": ["components", "schemas", "create_server_request", "properties", "firewalls", "items"],
"set": {
Expand Down

0 comments on commit 52ffa58

Please sign in to comment.