1.19.2 • Published 1 year ago

@chainsafe/files-api-client v1.19.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Lint

OpenAPI Specification for the Files 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 2.2 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-2.2

Installing .NET Core Runtime on MacOS

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

Generating a client

yarn build-client

Generating Docs

yarn build-docs

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
1.19.2

1 year ago

1.18.41

2 years ago

1.18.40

2 years ago

1.18.42

2 years ago

1.18.38

2 years ago

1.18.37

2 years ago

1.18.41-rc2

2 years ago

1.18.41-rc1

2 years ago

1.18.39

2 years ago

1.18.38-rc2

2 years ago

1.18.38-rc1

2 years ago

1.18.38-rc3

2 years ago

1.18.30

2 years ago

1.18.34

2 years ago

1.18.33

2 years ago

1.18.32

2 years ago

1.18.31

2 years ago

1.18.35

2 years ago

1.18.36-rc3

2 years ago

1.18.36-rc2

2 years ago

1.18.36-rc1

2 years ago

1.18.23

2 years ago

1.18.27

2 years ago

1.18.26

2 years ago

1.18.25

2 years ago

1.18.24

2 years ago

1.18.29

2 years ago

1.18.28

2 years ago

1.18.22

2 years ago

1.18.21

2 years ago

1.18.20

2 years ago

1.18.19

3 years ago

1.18.12

3 years ago

1.18.16

3 years ago

1.18.15

3 years ago

1.18.14

3 years ago

1.18.13

3 years ago

1.18.18

3 years ago

1.18.17

3 years ago

1.18.11

3 years ago

1.18.10

3 years ago

1.18.9

3 years ago

1.18.7

3 years ago

1.18.6

3 years ago

1.18.5

3 years ago

1.18.4

3 years ago

1.18.3

3 years ago

1.18.2

3 years ago

1.18.1

3 years ago

1.18.0

3 years ago

1.17.9

3 years ago

1.17.8

3 years ago

1.17.6

3 years ago

1.17.7

3 years ago

1.17.5

3 years ago

1.17.4

3 years ago

1.17.3

3 years ago

1.17.2

3 years ago

1.17.1

3 years ago

1.17.0

3 years ago

1.16.1

3 years ago

1.16.1-rc1

3 years ago

1.16.0

3 years ago

1.15.7-rc1

3 years ago

1.15.6

3 years ago