Download the PHP package nextcloud/openapi-extractor without Composer
On this page you can find all versions of the php package nextcloud/openapi-extractor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nextcloud/openapi-extractor
More information about nextcloud/openapi-extractor
Files in nextcloud/openapi-extractor
Package openapi-extractor
Short Description A tool for extracting OpenAPI specifications from Nextcloud source code
License AGPL-3.0-or-later
Informations about the package openapi-extractor
openapi-extractor
Installation
This tool should be added as a dev dependency to the composer.json
of your app (or in your vendor-bin
) like this:
Create a CI workflow to check the specifications are up-to-date
The Workflow template repository has a template available: https://github.com/nextcloud/.github/blob/master/workflow-templates/openapi.yml
Afterward in your repository settings set the OpenAPI workflow to be required for merging pull requests.
Usage
Checkout the OpenAPI tutorial at https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-openapi.html to see how you can use openapi-extractor.
🐢 Performance
Make sure that you have xdebug turned off when generating OpenAPI specs, otherwise it can take multiple minutes instead of seconds.
All versions of openapi-extractor with dependencies
ext-simplexml Version *
adhocore/cli Version ^1.7
nikic/php-parser Version ^5.0
phpstan/phpdoc-parser Version ^1.28