DocsController
final class DocsController (View source)
Serves a Swagger UI shell pointing at the configured OpenAPI endpoint and version-pinned assets.
Constants
| private SWAGGER_UI_VERSION |
|
| private SWAGGER_ASSET_BASE_URL |
|
Methods
__construct(ApiConfig $config, Psr17Factory $psr17)
Binds documentation rendering to resolved API routes and PSR-17 response creation.
show()
Returns the themed HTML documentation page with version-pinned framework assets.
ResponseInterface
Details
__construct
__construct(ApiConfig $config, Psr17Factory $psr17)
Binds documentation rendering to resolved API routes and PSR-17 response creation.
show
ResponseInterface
show()
Returns the themed HTML documentation page with version-pinned framework assets.