OpenApiTypesense.Debug (OpenApiTypesense v0.6.5)

View Source

Provides API endpoint related to debug

Summary

Functions

Print debugging information

Either one of

Either one of

Types

debug_200_json_resp()

@type debug_200_json_resp() :: %{version: String.t() | nil}

Functions

debug()

@spec debug() ::
  {:ok, map()} | {:ok, map()} | {:error, OpenApiTypesense.ApiResponse.t()}

Print debugging information

Print debugging information

debug(opts)

@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())

debug(conn, opts)

@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)