SISL Marketplace
← back to product list
darmowe

Enable Swagger in Production (SISL fork)

Re-enable the Swagger REST API docs in Magento production mode — handy on staging and for integrations. Runs on 2.4.9.

Magento 2.4.6–2.4.9Dev · APIKonfiguracja w paneluOpen source

Magento 2 serves an interactive REST API documentation UI at /swagger. Since 2.4.4 Magento disables it in production mode for security, so it's unavailable on a staging box running in production mode or when integrating with an ERP/PIM.

This module adds a flag (Stores → Configuration → Services → Swagger) to re-enable Swagger where you need it, without switching the store to developer mode. Trade-off: exposing the API reveals its structure — enable it deliberately, ideally behind a VPN or IP allowlist. The original blocked installation on PHP 8.3/8.4. SISL fork: fixed, runs on 2.4.9. Free, open source.

Product inquiry

Fill in the form, we'll get back to you within 24 working hours. Risk-free — first a conversation, then a quote and invoice.