From 09fdf2f01e4f4cea94f483090ab51c1944b1e7e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Thu, 25 Apr 2024 16:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0swagger=20type=20key=20?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- swagger.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swagger.go b/swagger.go index 858f602..e36d91b 100644 --- a/swagger.go +++ b/swagger.go @@ -26,3 +26,7 @@ const ( SwaggerRefKey = "$ref" SwaggerRefValPrefix = "#/definitions/" ) + +const ( + SwaggerTypeKey = "type" +)