Rector rule to upgrade zircote/swagger-php annotations to attributes Installation git clone [email protected]:wenbinye/openapi-rector.git cd openapi-rector composer install --no-dev In project directory, run: /path/to/openapi-rector/bin/openapi-rector