From f40760f6ee2214b36134a63eea603051f5b7f3c6 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:38:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0swagger=E6=96=87=E6=A1=A3ref?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=B8=B8=E9=87=8F=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- swagger.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/swagger.go b/swagger.go index 145b184..858f602 100644 --- a/swagger.go +++ b/swagger.go @@ -21,3 +21,8 @@ const ( SwaggerDocVersion2 = "2.0" SwaggerDocVersion3 = "3.0" ) + +const ( + SwaggerRefKey = "$ref" + SwaggerRefValPrefix = "#/definitions/" +)