IntegerNet_EnableSwagger Magento Module
integer-net/magento2-enable-swagger
Adds the option to re-enable Swagger via configuration. It's disabled in production mode since Magento 2.4.4.
Supported Magento versions: 2.4.9
202,358 installs★ 9 starsLatest: v1.0.1Released 2022-09-16License: MIT
composer require integer-net/magento2-enable-swaggerREADME
Reproduced from the package’s own README, under its own license, as of 2026-09-13. Links and images point back at the source repository.
Adds the option to re-enable Swagger via configuration. It's disabled in production mode since Magento 2.4.4.
-
Install it into your Magento 2 project with composer:
composer require integer-net/magento2-enable-swagger -
Enable module
bin/magento setup:upgrade
Enable swagger for your environment:
bin/magento config:set --lock-env dev/swagger/active 1
We recommend using the --lock-env switch so this configuration doesn't get lost when importing a database dump.
We recommend to not enable Swagger if there are no other access restrictions in place. These can be:
- Required VPN
- Basic Auth
- Access restricted to predefined IPs
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email security@integer-net.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
Links
- Packagist
- PackageMaven — quality data by PackageMaven
- Repository
- Issues