Search by

pushinbr / nimbus-openapi

DavidWilliamBalbino

OpenAPI 3.1 document, typed clients and compatibility checks generated from Nimbus routes.

v0.8.0 2026-12-02 18:31 UTC

This package is auto-updated.

Last update: 2026-12-02 18:44:09 UTC


README

OpenAPI 3.1 document, typed clients and compatibility checks generated from Nimbus routes.

Up to Nimbus 0.7 this code was part of pushinbr/nimbus. From 0.8 the core keeps only the base framework and the extension points; the OpenAPI support lives here, with the same namespaces, so an application only adds the package.

Start here

Install PAM first (curl -fsSL https://push-in.github.io/pam/install.sh | sh), then add the package to a Nimbus application:

pam composer require pushinbr/nimbus-openapi
$document = OpenApiGenerator::forApp($app, 'Orders API', '1.0.0')->generate();

Documentation: docs/nimbus/openapi.md.

Development

The package is developed in the push-in/pam monorepo (packages/nimbus-openapi); push-in/nimbus-openapi is a read-only split. Its tests share the runtime stubs and fixtures of packages/nimbus/tests:

cd packages/nimbus-openapi
composer config repositories.monorepo '{"type": "path", "url": "../*", "options": {"symlink": true}}'
composer update && composer test

License

Apache-2.0. See LICENSE.