Skip to content

URLR/api-clients-generation

Repository files navigation

URLR - API Clients Generation

API Clients are built from our openapi.yaml with OpenAPI Generator.

The clients are automatically pushed to their own repositories thanks to a GitHub action :

Manual Setup

Setup

npm install

PHP

npm run generate-php

JavaScript

npm run generate-javascript

Python

npm run generate-python

Publishing

JS: npm publish

Python: python -m build && twine upload dist/*

PHP: auto publish hook

Acknowledgements

Greatly inspired by Phrase's way of doing things: https://github.com/phrase/openapi