Метод | Описание | |
---|---|---|
__construct ( |
JaneOpenApi constructor. | |
build ( array $options = [] ) | ||
createContext ( string $openApiSpec, string $name, string $namespace, string $directory ) : Joli\Jane\Generator\Context\Context | Return a list of class guessed | |
generate ( string $openApiSpec, string $namespace, string $directory ) : |
Generate a list of files | |
printFiles ( |
Print files |
Метод | Описание | |
---|---|---|
fix ( string $directory ) : array | void | Use php cs fixer to have a nice formatting of generated files |
public __construct ( |
||
$schemaParser | ||
$chainGuesser | ||
$modelGenerator | Joli\Jane\Generator\ModelGenerator | |
$normalizerGenerator | ||
$clientGenerator | ||
$prettyPrinter | ||
$fixerConfig | PhpCsFixer\ConfigInterface |
public printFiles ( |
||
$files | ||
$directory | string |