bigz/api-doc-dumper-bundle

Dumps your OpenApi documention to a json file

Installs: 12 142

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

Type:symfony-bundle

1.1.2 2019-03-12 17:01 UTC

README

Dumps your OpenApi documention to a json file, based on NelmioApiDoc

Install

composer require bigz/api-doc-dumper-bundle --dev

Configure

add

    Wizards\RestBundle\WizardsRestBundle::class => ['all' => true],
    Bigz\ApiDocDumperBundle\BigzApiDocDumperBundle::class => ['dev' => true],

to the returned array in /config/bundles.php

Run

bin/console dump:api-doc myfile.json

It will generate an myfile.json file at the root of your project. Default name is apidoc.json