◆ escape_reference()
static core\router\schema\openapi_base::escape_reference |
( |
string | $reference | ) |
|
|
staticinherited |
◆ get_description()
core\router\schema\response\response::get_description |
( |
| ) |
|
|
protectedinherited |
Get the description for this response.
- Return values
-
◆ get_exception_status_code()
static core\router\response\exception_response::get_exception_status_code |
( |
| ) |
|
|
staticprotected |
◆ get_openapi_description()
core\router\schema\response\response::get_openapi_description |
( |
specification | $api, |
|
|
?string | $path = null ) |
|
inherited |
Get the OpenAPI data to include in the OpenAPI specification.
- Parameters
-
specification | $api | |
null | string | $path | |
- Return values
-
Reimplemented from core\router\schema\openapi_base.
◆ get_openapi_schema()
core\router\schema\openapi_base::get_openapi_schema |
( |
specification | $api, |
|
|
?string | $path = null ) |
|
finalinherited |
Get the OpenAPI data to include in the OpenAPI specification.
- Parameters
-
specification | $api | |
null | string | $path | |
- Return values
-
- Exceptions
-
◆ get_payload_data()
static core\router\response\exception_response::get_payload_data |
( |
Exception | $exception, |
|
|
| ... ) |
|
staticprotected |
Get the response payload data.
- Parameters
-
- Return values
-
◆ get_reference()
core\router\schema\openapi_base::get_reference |
( |
bool | $qualify = true | ) |
|
|
inherited |
Get the $ref for this class.
- Parameters
-
bool | $qualify | Whether to qualify the reference with the #/components/ part. |
- Return values
-
◆ get_reference_for_class()
static core\router\schema\openapi_base::get_reference_for_class |
( |
string | $classname, |
|
|
bool | $qualify = true ) |
|
staticinherited |
◆ get_reference_for_example()
static core\router\schema\openapi_base::get_reference_for_example |
( |
string | $reference | ) |
|
|
staticinherited |
Get the qualified $ref for an example.
- Parameters
-
- Return values
-
◆ get_reference_for_header()
static core\router\schema\openapi_base::get_reference_for_header |
( |
string | $reference | ) |
|
|
staticinherited |
Get the qualified $ref for a parameter.
- Parameters
-
- Return values
-
◆ get_reference_for_parameter()
static core\router\schema\openapi_base::get_reference_for_parameter |
( |
string | $reference | ) |
|
|
staticinherited |
Get the qualified $ref for a parameter.
- Parameters
-
- Return values
-
◆ get_reference_for_request_body()
static core\router\schema\openapi_base::get_reference_for_request_body |
( |
string | $reference | ) |
|
|
staticinherited |
Get the qualified $ref for a request body.
- Parameters
-
- Return values
-
◆ get_reference_for_response()
static core\router\schema\openapi_base::get_reference_for_response |
( |
string | $reference | ) |
|
|
staticinherited |
Get the qualified $ref for a response.
- Parameters
-
- Return values
-
◆ get_reference_for_schema()
static core\router\schema\openapi_base::get_reference_for_schema |
( |
string | $reference | ) |
|
|
staticinherited |
Get the qualified $ref for a schema.
- Parameters
-
- Return values
-
◆ get_response()
Get the response for the exception.
- Parameters
-
ServerRequestInterface | $request | |
Exception | $exception | |
| mixed[] | ...$extra |
- Return values
-
◆ get_response_description()
static core\router\response\exception_response::get_response_description |
( |
| ) |
|
|
staticabstractprotected |
◆ get_response_schema()
static core\router\response\exception_response::get_response_schema |
( |
| ) |
|
|
staticprotected |
Get the schema for the response.
- Return values
-
◆ get_schema_from_type()
core\router\schema\openapi_base::get_schema_from_type |
( |
param | $type | ) |
|
|
inherited |
Get the schema for a given type.
- Parameters
-
- Return values
-
◆ get_status_code()
core\router\schema\response\response::get_status_code |
( |
| ) |
|
|
inherited |
Get the status code for this response.
- Return values
-
◆ validate()
Validate the response.
- Parameters
-
ResponseInterface | $response | The response to validate |
The documentation for this class was generated from the following file:
- lib/classes/router/response/exception_response.php