From 4f234efb54d2bdf19b89be1b3e57bf8189f84679 Mon Sep 17 00:00:00 2001 From: icyleaf Date: Wed, 6 May 2020 11:20:01 +0800 Subject: [PATCH] style: fix code format --- src/swagger/http/handlers/api.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/swagger/http/handlers/api.cr b/src/swagger/http/handlers/api.cr index 4d66a8c..64b0d99 100644 --- a/src/swagger/http/handlers/api.cr +++ b/src/swagger/http/handlers/api.cr @@ -4,9 +4,9 @@ require "semantic_version" module Swagger::HTTP class APIHandler include Swagger::HTTP::Handler - + @json : String - + def initialize(document : Document, @endpoint : String, @debug_mode = true) major = SemanticVersion.parse(document.openapi_version).major @swagger_path = "/v#{major}/swagger.json"