module Wakdata::RestAPI::V1

Defined in:

wakdata/rest-api/v1.cr
wakdata/rest-api/v1/commons.cr

Constant Summary

BASE_PATH = "#{Wakdata::RestAPI::API_PATH}/v1"
SWAGGER_API_HANDLER = Swagger::HTTP::APIHandler.new(Wakdata::RestAPI::V1::CurrentSwagger::SWAGGER_BUILDER.built, "#{BASE_PATH}/", "#{BASE_PATH}/openapi/v#{(SemanticVersion.parse(Wakdata::RestAPI::V1::CurrentSwagger::SWAGGER_BUILDER.built.openapi_version)).major}/swagger.json")
SWAGGER_WEB_HANDLER = Swagger::HTTP::WebHandler.new("#{BASE_PATH}/swagger", SWAGGER_API_HANDLER.api_url)
VERSION = Wakdata::RestAPI::VERSION