From 31775907d0bc60915e89aed69346e87ecc24c197 Mon Sep 17 00:00:00 2001 From: Rohini Chandra <61837065+r14chandra@users.noreply.github.com> Date: Fri, 3 May 2024 10:11:20 +0530 Subject: [PATCH] Ref-RHINENG-9639 add default key under the parameter schema in OpenAPI spec --- internal/http/v2/openapi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/v2/openapi.json b/internal/http/v2/openapi.json index 2d9376ff..623073c4 100644 --- a/internal/http/v2/openapi.json +++ b/internal/http/v2/openapi.json @@ -20,9 +20,9 @@ "name": "sort_by", "in": "query", "required": false, - "default": "created_at:desc", "schema": { "type": "string", + "default": "created_at:desc", "enum": [ "created_at", "created_at:asc",