Skip to content

Commit 4128353

Browse files
shortcutsmillotp
andauthored
chore: update README (#818)
Co-authored-by: Pierre Millot <[email protected]>
1 parent 9b09949 commit 4128353

File tree

2 files changed

+54
-23
lines changed

2 files changed

+54
-23
lines changed

README.md

Lines changed: 51 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,78 @@
1-
# api-clients-automation
1+
<div align="center">
22

3-
**Make sure to have Docker installed so you don't have to install the tooling for every API clients.**
3+
# API Clients Automation
44

5-
## Setup repository tooling
5+
The Algolia API clients are generated from [OpenAPI specs](https://swagger.io/specification/), leveraging the open-source [openapi-generator](https://openapi-generator.tech/) tool.
6+
7+
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat-square)](./LICENSE)
8+
9+
<p align="center">
10+
<strong>
11+
<a href="https://api-clients-automation.netlify.app/">API clients automation documentation</a> •
12+
<a href="https://www.algolia.com/doc/">Algolia documentation</a>
13+
</strong>
14+
</p>
15+
16+
</div>
17+
18+
**Migration note from current API clients**
19+
20+
> In July 2022, we released an alpha version generated API clients for the JavaScript, Java and PHP languages. If you are using the latest stable of those clients and looking to upgrade, read the [migration guide](https://api-clients-automation.netlify.app/docs/clients/migration-guides/). You can still browse the documentation of the stable clients on [the Algolia documentation](https://www.algolia.com/doc/).
21+
22+
## 💡 Getting Started with the clients
23+
24+
You can read `getting started` guides and how to use the API clients on [our documentation](https://api-clients-automation.netlify.app/docs/clients/installation).
25+
26+
## ✨ Contributing
27+
28+
> Looking to add a new client, or fix a bug? Make sure to take a look at [our contribution guides](https://api-clients-automation.netlify.app/docs/contributing/introduction).
29+
30+
### Setup repository tooling
631

732
```bash
833
nvm use && yarn
934
```
1035

11-
## Setup dev environment
36+
### Setup dev environment
37+
38+
> **Make sure to have Docker installed so you don't have to install the tooling for every API clients.**
1239
1340
```bash
1441
yarn docker:setup
1542
```
1643

1744
[Read more on our documentation](https://api-clients-automation.netlify.app/docs/contributing/setup-repository)
1845

19-
## Contributing
46+
### CLI
2047

21-
You can make changes locally and run commands through the docker container.
48+
The CLI allows you to make changes locally and run commands through the docker container.
2249

23-
[Specs CLI commands](https://api-clients-automation.netlify.app/docs/contributing/CLI/specs-commands)[Clients CLI commands](https://api-clients-automation.netlify.app/docs/contributing/CLI/clients-commands)[CTS CLI commands](https://api-clients-automation.netlify.app/docs/contributing/CLI/cts-commands)
50+
- [Specs CLI commands](https://api-clients-automation.netlify.app/docs/contributing/CLI/specs-commands)
51+
- [Clients CLI commands](https://api-clients-automation.netlify.app/docs/contributing/CLI/clients-commands)
52+
- [CTS CLI commands](https://api-clients-automation.netlify.app/docs/contributing/CLI/cts-commands)
2453

25-
### Build and validate specs
54+
### Guides and requirements
2655

27-
#### Usage
56+
Read the guides and requirements to:
2857

29-
```bash
30-
yarn docker build specs <client | all>
31-
```
58+
- [Add a new client](https://api-clients-automation.netlify.app/docs/contributing/add-new-api-client)
59+
- [Add a new language](https://api-clients-automation.netlify.app/docs/contributing/add-new-api-language)
3260

33-
[Read more on our documentation](https://api-clients-automation.netlify.app/docs/contributing/add-new-api-client)
61+
### Tests
3462

35-
### Generate clients based on the [`specs`](./specs/)
63+
Test the generated clients by running:
3664

37-
#### Usage
65+
- The [`playground`](./playground) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/playground.md))
66+
- The [`Common Test Suite`](./tests/) (see [documentation](https://api-clients-automation.netlify.app/docs/contributing/testing/common-test-suite.md)).
3867

39-
```bash
40-
yarn docker generate <language | all> <client | all>
41-
```
68+
For full documentation, visit the **[online documentation](https://api-clients-automation.netlify.app/docs/contributing/introduction)**.
69+
70+
## ❓ Troubleshooting
4271

43-
[Read more on our documentation](https://api-clients-automation.netlify.app/docs/contributing/add-new-language)
72+
Encountering an issue with the API clients? Before reaching out to support, we recommend heading to our [FAQ](https://www.algolia.com/doc/api-client/troubleshooting/faq/javascript/) where you will find answers to the most common issues and gotchas with the client.
4473

45-
## Testing clients
74+
You can also [open an issue on GitHub](https://github.com/algolia/api-clients-automation/issues/new/choose).
4675

47-
You can test our generated clients by running:
76+
## 📄 License
4877

49-
- The playground [`playground`](./playground) ([Playground](https://api-clients-automation.netlify.app/docs/contributing/testing/playground.md))
50-
- Tests with our [`Common Test Suite`](./tests/) ([Common Test Suite](https://api-clients-automation.netlify.app/docs/contributing/testing/common-test-suite.md)).
78+
Algolia API clients automation is an open-sourced software licensed under the [MIT license](LICENSE.md).

SECURITY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## Reporting a Vulnerability
2+
3+
To report a security vulnerability, please use the [Algolia security email]([email protected]). Algolia will coordinate the fix and disclosure.

0 commit comments

Comments
 (0)