class Swagger::HTTP::APIHandler
- Swagger::HTTP::APIHandler
 - Reference
 - Object
 
Included Modules
- HTTP::Handler
 - Swagger::HTTP::Handler
 
Defined in:
swagger/http/handers/api.crConstructors
- .new(document : Document, endpoint : String, debug_mode = true)
 - .new(json : String, endpoint : String, debug_mode : Bool = true)
 
Instance Method Summary
- #api_url
 - #call(context)
 - #match?(context)
 - #match_router?(context, path, method = "GET")
 - #not_found(context)
 - #redirect_to(context, uri, status_code = 301)
 - #response_with(context, body, headers : ::HTTP::Headers, status_code = 200)
 - #response_with(context, body, content_type = "application/json", status_code = 200)