Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 22, 2025
1 parent e7a2d1a commit b817e7d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 63 deletions.
60 changes: 12 additions & 48 deletions go/pkg/zen/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,7 @@
}
},
"type": "object",
"required": [
"requestId",
"detail",
"status",
"title",
"type"
]
"required": ["requestId", "detail", "status", "title", "type"]
},
"NotFoundError": {
"$ref": "#/components/schemas/BaseError"
Expand All @@ -74,14 +68,10 @@
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": [
"array"
]
"type": ["array"]
}
},
"required": [
"errors"
]
"required": ["errors"]
}
]
},
Expand All @@ -105,10 +95,7 @@
}
},
"type": "object",
"required": [
"message",
"location"
]
"required": ["message", "location"]
},
"V2LivenessResponseBody": {
"additionalProperties": false,
Expand All @@ -119,9 +106,7 @@
"type": "string"
}
},
"required": [
"message"
],
"required": ["message"],
"type": "object"
},
"V2RatelimitSetOverrideRequestBody": {
Expand Down Expand Up @@ -151,11 +136,7 @@
"type": "integer"
}
},
"required": [
"identifier",
"limit",
"duration"
],
"required": ["identifier", "limit", "duration"],
"type": "object"
},
"V2RatelimitSetOverrideResponseBody": {
Expand All @@ -166,9 +147,7 @@
"type": "string"
}
},
"required": [
"overrideId"
],
"required": ["overrideId"],
"type": "object"
},
"V2RatelimitLimitRequestBody": {
Expand All @@ -195,11 +174,7 @@
"type": "integer"
}
},
"required": [
"identifier",
"limit",
"duration"
],
"required": ["identifier", "limit", "duration"],
"type": "object"
},
"V2RatelimitLimitResponseBody": {
Expand All @@ -225,12 +200,7 @@
"type": "boolean"
}
},
"required": [
"limit",
"remaining",
"reset",
"success"
],
"required": ["limit", "remaining", "reset", "success"],
"type": "object"
}
}
Expand Down Expand Up @@ -311,9 +281,7 @@
"description": "Error"
}
},
"tags": [
"ratelimit"
]
"tags": ["ratelimit"]
}
},
"/v2/ratelimit.setOverride": {
Expand Down Expand Up @@ -371,9 +339,7 @@
"description": "Error"
}
},
"tags": [
"ratelimit"
]
"tags": ["ratelimit"]
}
},
"/v2/liveness": {
Expand Down Expand Up @@ -403,9 +369,7 @@
}
},
"summary": "Liveness check",
"tags": [
"liveness"
]
"tags": ["liveness"]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion go/pkg/zen/openapi/scalar.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
}
],
"guides": []
}
}
19 changes: 5 additions & 14 deletions go/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
}
},
"additionalProperties": false,
"required": [
"url"
]
"required": ["url"]
},
"database": {
"type": "object",
Expand All @@ -29,9 +27,7 @@
}
},
"additionalProperties": false,
"required": [
"primary"
]
"required": ["primary"]
},
"heartbeat": {
"type": "object",
Expand All @@ -49,10 +45,7 @@
}
},
"additionalProperties": false,
"required": [
"url",
"interval"
]
"required": ["url", "interval"]
},
"image": {
"type": "string",
Expand All @@ -77,7 +70,5 @@
}
},
"additionalProperties": true,
"required": [
"database"
]
}
"required": ["database"]
}

0 comments on commit b817e7d

Please sign in to comment.