OpenApiController
final class OpenApiController (View source)
Serializes the current generated OpenAPI document as a UTF-8 JSON response.
Methods
__construct(OpenApiGenerator $generator, Psr17Factory $psr17)
Binds document generation to PSR-17 response and stream creation.
show()
Returns the current OpenAPI document without escaping slashes or Unicode characters.
ResponseInterface
Details
__construct
__construct(OpenApiGenerator $generator, Psr17Factory $psr17)
Binds document generation to PSR-17 response and stream creation.
show
ResponseInterface
show()
Returns the current OpenAPI document without escaping slashes or Unicode characters.