jane-php / open-api-bundle
Jane OpenApi Symfony Bundle
Requires
- php: ^8.0
- jane-php/open-api-common: ^7.5
- nyholm/psr7: ^1.8
Requires (Dev)
- phpunit/phpunit: ^8.5
- symfony/framework-bundle: ^5.4 || ^6.4 || ^7.0 || ^8.0
Suggests
None
Provides
None
Conflicts
- symfony/framework-bundle: 5.1.0
Replaces
None
- dev-next / 7.x-dev
- v7.14.3
- v7.14.2
- v7.14.1
- v7.14.0
- v7.13.0
- v7.12.0
- v7.11.2
- v7.11.1
- v7.11.0
- v7.10.4
- v7.10.3
- v7.10.2
- v7.10.1
- v7.10.0
- v7.9.0
- v7.8.1
- v7.8.0
- v7.7.0
- v7.6.2
- v7.6.1
- v7.6.0
- v7.5.5
- v7.5.4
- v7.5.3
- v7.5.2
- v7.5.1
- v7.5.0
- v7.4.4
- v7.4.3
- v7.4.2
- v7.4.1
- v7.4.0
- v7.3.2
- v7.3.1
- v7.3.0
- v7.2.5
- v7.2.4
- v7.2.3
- v7.2.2
- v7.2.1
- v7.2.0
- v7.1.7
- v7.1.6
- v7.1.5
- v7.1.4
- v7.1.3
- v7.1.2
- v7.1.1
- v7.1.0
This package is auto-updated.
Last update: 2026-09-16 15:42:54 UTC
README
The component ships a Bundle to allow a quick integration with Symfony for the OpenApiCommon component of Jane.
Note: If you use Symfony Flex, the configuration is automatic
To use it, you just have to add the main bundle class to your config/bundles.php file.
return [
// ...
Jane\Bundle\OpenApiBundle\JaneOpenApiBundle::class => ['dev' => true],
];
Usage
Once the bundle is registered, the generation command is available in your Symfony console:
php bin/console jane:open-api:generate
By default, the command looks for your Jane configuration at config/jane/open-api.php relative to your project
directory (the legacy config/jane/open_api.php path is also supported) and falls back to a .jane-openapi file in
the current working directory. Use the --config-file (-c) option to point to another configuration file:
php bin/console jane:open-api:generate --config-file=config/jane/open-api.php
The configuration file format is documented in the "Configuration file" section of the OpenAPI documentation.