@lasuillard/raindrop-client 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Primary features and goals are:
|
|
|
19
19
|
If you wish to use client package, install it:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
|
|
22
|
+
npm install @lasuillard/raindrop-client
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## 🛠️ Generate your own client
|
|
@@ -27,8 +27,12 @@ $ npm install @lasuillard/raindrop-client
|
|
|
27
27
|
You can use OpenAPI schema in this repository to generate your own client. Following is example using [openapitools/openapi-generator-cli](https://www.npmjs.com/package/@openapitools/openapi-generator-cli):
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
npm install --global @openapitools/openapi-generator-cli
|
|
31
|
+
openapi-generator-cli generate \
|
|
32
|
+
--input-spec https://raw.githubusercontent.com/lasuillard-s/raindrop-client/main/openapi.yaml \
|
|
33
|
+
--generator-name typescript-axios \
|
|
34
|
+
--skip-validate-spec \
|
|
35
|
+
--output ./out
|
|
32
36
|
```
|
|
33
37
|
|
|
34
38
|
You may need Java installed as openapi-generator-cli uses it.
|