hack

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixAPIErrors

func FixAPIErrors(transport runtime.ClientTransport) runtime.ClientTransport

FixAPIErrors is middleware that extracts the remote, server-provided API error message from an SDK error.

TODO: Fix the SDK itself to return useful errors.

func SendEmptyBody

func SendEmptyBody(op *runtime.ClientOperation)

SendEmptyBody is an SDK ClientOption that forces the request to send an empty body ("{}") instead of no body at all.

TODO: Fix the underlying SDK instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL