container = $container; } /** * PATCH call123TestSpecialTags * Summary: To test special tags * Notes: To test special tags and operation ID starting with number * Output-Formats: [application/json] * * @param ServerRequestInterface $request Request * @param ResponseInterface $response Response * @param array|null $args Path arguments * * @return ResponseInterface * @throws Exception to force implementation class to override this method */ public function call123TestSpecialTags(ServerRequestInterface $request, ResponseInterface $response, array $args) { $body = $request->getParsedBody(); $message = "How about implementing call123TestSpecialTags as a PATCH method in OpenAPIServer\Api\AnotherFakeApi class?"; throw new Exception($message); return $response->write($message)->withStatus(501); } }