Skip to content

Commit

Permalink
Update spec
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Mar 26, 2024
1 parent 7db8d1d commit 3a4e3ca
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 9 deletions.
65 changes: 64 additions & 1 deletion api/models/rest_health_result.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/models/v1_size_constraint.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions metal-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,19 @@
"message": {
"type": "string"
},
"services": {
"additionalProperties": {
"$ref": "#/definitions/rest.HealthResult"
},
"type": "object"
},
"status": {
"type": "string"
}
},
"required": [
"message",
"services",
"status"
]
},
Expand Down Expand Up @@ -4473,12 +4480,9 @@
"v1.SizeConstraint": {
"description": "a machine matches to a size in order to make them easier to categorize",
"properties": {
"gpus": {
"additionalProperties": {
"type": "integer"
},
"description": "the count of different gpus",
"type": "object"
"identifier": {
"description": "glob pattern which matches to the given type, for example gpu pci id",
"type": "string"
},
"max": {
"description": "the maximum value of the constraint",
Expand Down

0 comments on commit 3a4e3ca

Please sign in to comment.