Skip to content

Generating code with OpenAPI Generator

Chris R edited this page Jul 27, 2023 · 3 revisions

To generate a PHP SDK from our OpenAPI spec, use:

openapi-generator generate -i spec.yml -g php -o /tmp/akismet-api-php-sdk

There are generators available for many other languages, including JavaScript, Python and Ruby.

https://openapi-generator.tech/docs/generators

Clone this wiki locally