메소드 | 설명 | |
---|---|---|
__construct ( Joli\Jane\OpenApi\Operation\OperationManager $operationManager, |
||
generate ( Joli\Jane\OpenApi\Model\OpenApi $openApi, string $namespace, Joli\Jane\Generator\Context\Context $context, string $suffix = 'Resource' ) : PhpParser\Node[] | Generate an ast node (which correspond to a class) for a OpenApi spec |
메소드 | 설명 | |
---|---|---|
generateClass ( $group, $operations, $namespace, Joli\Jane\Generator\Context\Context $context, $suffix = 'Resource' ) |
public __construct ( Joli\Jane\OpenApi\Operation\OperationManager $operationManager, |
||
$operationManager | Joli\Jane\OpenApi\Operation\OperationManager | |
$operationGenerator | ||
$operationNaming | Joli\Jane\OpenApi\Naming\OperationNamingInterface |
public generate ( Joli\Jane\OpenApi\Model\OpenApi $openApi, string $namespace, Joli\Jane\Generator\Context\Context $context, string $suffix = 'Resource' ) : PhpParser\Node[] | ||
$openApi | Joli\Jane\OpenApi\Model\OpenApi | |
$namespace | string | |
$context | Joli\Jane\Generator\Context\Context | |
$suffix | string | |
리턴 | PhpParser\Node[] |
protected generateClass ( $group, $operations, $namespace, Joli\Jane\Generator\Context\Context $context, $suffix = 'Resource' ) | ||
$context | Joli\Jane\Generator\Context\Context |