diff --git a/go/pkg/zen/openapi/openapi.json b/go/pkg/zen/openapi/openapi.json index 66cc1e2cb..ce8db7bf5 100644 --- a/go/pkg/zen/openapi/openapi.json +++ b/go/pkg/zen/openapi/openapi.json @@ -51,13 +51,7 @@ } }, "type": "object", - "required": [ - "requestId", - "detail", - "status", - "title", - "type" - ] + "required": ["requestId", "detail", "status", "title", "type"] }, "NotFoundError": { "$ref": "#/components/schemas/BaseError" @@ -74,14 +68,10 @@ "items": { "$ref": "#/components/schemas/ValidationError" }, - "type": [ - "array" - ] + "type": ["array"] } }, - "required": [ - "errors" - ] + "required": ["errors"] } ] }, @@ -105,10 +95,7 @@ } }, "type": "object", - "required": [ - "message", - "location" - ] + "required": ["message", "location"] }, "V2LivenessResponseBody": { "additionalProperties": false, @@ -119,9 +106,7 @@ "type": "string" } }, - "required": [ - "message" - ], + "required": ["message"], "type": "object" }, "V2RatelimitSetOverrideRequestBody": { @@ -151,11 +136,7 @@ "type": "integer" } }, - "required": [ - "identifier", - "limit", - "duration" - ], + "required": ["identifier", "limit", "duration"], "type": "object" }, "V2RatelimitSetOverrideResponseBody": { @@ -166,9 +147,7 @@ "type": "string" } }, - "required": [ - "overrideId" - ], + "required": ["overrideId"], "type": "object" }, "V2RatelimitLimitRequestBody": { @@ -195,11 +174,7 @@ "type": "integer" } }, - "required": [ - "identifier", - "limit", - "duration" - ], + "required": ["identifier", "limit", "duration"], "type": "object" }, "V2RatelimitLimitResponseBody": { @@ -225,12 +200,7 @@ "type": "boolean" } }, - "required": [ - "limit", - "remaining", - "reset", - "success" - ], + "required": ["limit", "remaining", "reset", "success"], "type": "object" } } @@ -311,9 +281,7 @@ "description": "Error" } }, - "tags": [ - "ratelimit" - ] + "tags": ["ratelimit"] } }, "/v2/ratelimit.setOverride": { @@ -371,9 +339,7 @@ "description": "Error" } }, - "tags": [ - "ratelimit" - ] + "tags": ["ratelimit"] } }, "/v2/liveness": { @@ -403,9 +369,7 @@ } }, "summary": "Liveness check", - "tags": [ - "liveness" - ] + "tags": ["liveness"] } } } diff --git a/go/pkg/zen/openapi/scalar.config.json b/go/pkg/zen/openapi/scalar.config.json index 298162501..99826e6e3 100644 --- a/go/pkg/zen/openapi/scalar.config.json +++ b/go/pkg/zen/openapi/scalar.config.json @@ -7,4 +7,4 @@ } ], "guides": [] -} \ No newline at end of file +} diff --git a/go/schema.json b/go/schema.json index ecfdee17a..b9fcf1464 100644 --- a/go/schema.json +++ b/go/schema.json @@ -14,9 +14,7 @@ } }, "additionalProperties": false, - "required": [ - "url" - ] + "required": ["url"] }, "database": { "type": "object", @@ -29,9 +27,7 @@ } }, "additionalProperties": false, - "required": [ - "primary" - ] + "required": ["primary"] }, "heartbeat": { "type": "object", @@ -49,10 +45,7 @@ } }, "additionalProperties": false, - "required": [ - "url", - "interval" - ] + "required": ["url", "interval"] }, "image": { "type": "string", @@ -77,7 +70,5 @@ } }, "additionalProperties": true, - "required": [ - "database" - ] -} \ No newline at end of file + "required": ["database"] +}