Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 2.66 KB

README.md

File metadata and controls

73 lines (49 loc) · 2.66 KB

IntegerNet_EnableSwagger Magento Module

Latest Version on Packagist Software License


Adds the option to re-enable Swagger via configuration. It's disabled in production mode since Magento 2.4.4.

Installation

  1. Install it into your Magento 2 project with composer:

    composer require integer-net/magento2-enable-swagger
    
  2. Enable module

    bin/magento setup:upgrade
    

Configuration

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

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email security@integer-net.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.