{ "manifests": { "jane-php/open-api-common": { "manifest": { "copy-from-recipe": { "bin/": "%BIN_DIR%/", "config/": "%CONFIG_DIR%/" }, "conflict": { "symfony/symfony": "<5.0" }, "post-install-output": [ " * Finish package configuration:", " 1. Place your API specification at config/jane/open-api.yaml, or update openapi-file in config/jane/open_api.php", " 2. Replace MyApp\\Library\\Generated with your own namespace in config/jane/open_api.php and in config/packages/jane.yaml", " 3. Add generated/ directory to your composer autoload definition (eg. \"MyApp\\\\Library\\\\Generated\\\\\": \"generated/\")", " 4. Run bin/jane-open-api-generate", " 5. Once generation succeeded, uncomment the service in config/packages/jane.yaml to enable autowiring of the generated normalizer", "", "Documentation: https://jane.jolicode.com/latest/" ] }, "files": { "bin/jane-open-api-generate": { "contents": [ "#!/usr/bin/env php", " __DIR__ . '/../config/jane/open_api.php'], $command->getDefinition());", "$output = new ConsoleOutput();", "", "try {", " exit($command->execute($inputArray, $output));", "} catch (\\Throwable $throwable) {", " (new Application())->renderThrowable($throwable, $output->getErrorOutput());", "", " exit(1);", "}", "" ], "executable": true }, "config/jane/open_api.php": { "contents": [ " __DIR__ . '/open-api.yaml',", " 'namespace' => 'MyApp\\Library\\Generated',", " 'directory' => __DIR__ . '/../../generated',", "];", "" ], "executable": false }, "config/packages/jane.yaml": { "contents": [ "services:", " _defaults:", " autowire: true", " autoconfigure: true", "", " # Uncomment the line below once you have generated your code to autowire", " # the generated normalizers (and the client using them). The namespace", " # must match the \"namespace\" key of your config/jane/*.php config file.", "# MyApp\\Library\\Generated\\Normalizer\\JaneObjectNormalizer: null", "" ], "executable": false } }, "ref": "f7300bde4fb22058c096e3f04b8235f8ad3fd7dd" } } }