pub struct BumpClient { /* private fields */ }

Implementations

Create a diff

Create a diff between any two given API definitions. The diff result will be available asynchronously and needs to be retrieved with the GET /diffs/:id API endpoint.

Fetch detailed information from an existing diff

Fetch the result of a previously created diff with the POST /diffs API endpoint.

Fetch information of an existing Hub

Fetch information of an existing Hub including the list of APIs it contains. The response follows the APIs.json specification

Create a new version

Deploy a new version for a given documentation, which will become the current version.

Validate a documentation definition

Validate a definition against its schema (OpenAPI or AsyncAPI) and return errors without creating a new version. This is useful in a CI process, to validate that a changed definition file is valid and won’t fail when being deployed on Bump.

Create a preview

Create a preview for a given documentation file. The preview will have a unique temporary URL, and will be active for 30 minutes.

Update an existing preview

Update a preview with the given documentation file. The preview will stay active for 30 minutes after the last update.

Fetch a full documentation version including diff summary

Fetch a full documentation version including diff summary.

Check the API status

Responds a pong if the API is up and running.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more