2.1.1 • Published 10 months ago

@chainsafe/bonds-api-client v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

OpenAPI Specification for the Bonds API

The OpenAPI Specification referenced hereis a community-driven open specification within the OpenAPI Initiative, a Linux Foundation Collaborative Project.

The Linter used

Redoc Lint is the linter chosen for this project and can be referenced here. It is a flexible JSON/YAML linter, with out of the box support for OpenAPI v2/v3 and AsyncAPI v2.

Install the dependencies

yarn install

Run the linter on the specification File

make

Typescript API Client Generation

To generate a typescript client for the API, .net core 8 is required.

Installing .NET Core Runtime on Linux (Debian/Ubuntu)

wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb

followed by

sudo apt-get update; \
  sudo apt-get install -y apt-transport-https && \
  sudo apt-get update && \
  sudo apt-get install -y dotnet-runtime-8.0

Installing .NET Core Runtime on MacOS

https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-8.0-macos-x64-installer

Generating a client

yarn build-client

Publishing a new release

Run the following

npm login

Run the publish-package or publish-prerelease script according to your needs:

yarn publish-prerelease

or

yarn publish-package
2.1.1

10 months ago

2.1.0

10 months ago

2.0.0

10 months ago

1.25.0

12 months ago

1.24.1

1 year ago

1.26.0

12 months ago

1.25.1

12 months ago

1.24.0

1 year ago

1.26.1

12 months ago

1.23.0

1 year ago

1.22.0

1 year ago

1.21.1

1 year ago

1.21.0

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago