Skip to content

algolia/api-clients-automation

Repository files navigation

How to run

Install and setup env

nvm use && yarn

Generate clients based on the specs

All clients

yarn generate

Generic command:

yarn generate <language | all> <client | all>

Search client

yarn generate all search

Recommend client

yarn generate all recommend

Build generated clients

yarn client:build

Testing clients

The clients can be tested inside the playground folder

JavaScript

yarn playground:js

Troubleshooting

Error: The operation couldn’t be completed. Unable to locate a Java Runtime.

Java is not located in your PATH, either source the right .bash_profile, .zshrc, etc. file or do the following command in this repository:

echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' > .bash_profile && source .bash_profile

About

🤖 Monorepo of the Algolia API specs and their auto-generated clients and documentation

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 68