You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
610 B
30 lines
610 B
<?php declare(strict_types=1);
|
|
|
|
namespace OpenApi\Tests\Fixtures;
|
|
|
|
/**
|
|
* @OA\Info(title="Fixture for AugmentOperationTest", version="test")
|
|
*/
|
|
class UsingPhpDoc
|
|
{
|
|
/**
|
|
* Example summary
|
|
*
|
|
* Example description...
|
|
* More description...
|
|
*
|
|
* @OA\Get(path="api/test1", @OA\Response(response="200", description="a response"))
|
|
*/
|
|
public function methodWithDescription()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Example summary
|
|
*
|
|
* @OA\Get(path="api/test2", @OA\Response(response="200", description="a response"))
|
|
*/
|
|
public function methodWithSummary()
|
|
{
|
|
}
|
|
}
|
|
|