OpenApiTypesense.Debug (OpenApiTypesense v0.6.5)
View SourceProvides API endpoint related to debug
Summary
Types
@type debug_200_json_resp() :: %{version: String.t() | nil}
Functions
@spec debug() :: {:ok, map()} | {:ok, map()} | {:error, OpenApiTypesense.ApiResponse.t()}
Print debugging information
Print debugging information
@spec debug(map() | OpenApiTypesense.Connection.t() | keyword()) :: {:ok, map()} | {:error, OpenApiTypesense.ApiResponse.t()}
Either one of:
debug(opts)
debug(%{api_key: xyz, host: ...})
debug(Connection.new())
@spec debug( map() | OpenApiTypesense.Connection.t(), keyword() ) :: {:ok, map()} | {:error, OpenApiTypesense.ApiResponse.t()}
@spec debug( OpenApiTypesense.Connection.t(), keyword() ) :: {:ok, map()} | :error
Either one of:
debug(%{api_key: xyz, host: ...}, opts)
debug(Connection.new(), opts)