adapttive/grumphp-swagger

Swagger schema check task for GrumPHP

0.0.3 2020-07-17 17:59 UTC

This package is auto-updated.

Last update: 2024-10-18 03:14:42 UTC


README

GrumPHP Swagger check

Usage

  • Install the task using composer:
composer require adapttive/grumphp-swagger
  • Add the following in your grumphp.yml:
# GrumPHP configuration
grumphp:
  tasks:
    swagger:
        swagger_schema_url: https://magento.local/rest/all/schema?services=all
services:
    Adapttive\GrumPHP\Swagger:
        arguments:
            - '@process_builder'
            - '@formatter.raw_process'
        tags:
            - {name: grumphp.task, task: swagger, priority: 0}