Skip to content

Commit

Permalink
build: added OpenAPI specification in JSON format
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed May 30, 2024
1 parent 213fc5e commit 78a8105
Show file tree
Hide file tree
Showing 3 changed files with 1,628 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
"check": "./phpmyfaq/src/libs/bin/phpstan analyse -c phpstan.neon --memory-limit 1G",
"lint": "./phpmyfaq/src/libs/bin/phpcs --standard=PSR12 --extensions=php --ignore=./phpmyfaq/src/libs/* ./phpmyfaq/src/phpMyFAQ",
"lint-fix": "./phpmyfaq/src/libs/bin/phpcbf --standard=PSR12 --extensions=php --ignore=./phpmyfaq/src/libs/* ./phpmyfaq/src/phpMyFAQ",
"openapi": "./phpmyfaq/src/libs/bin/openapi -b ./phpmyfaq/src/libs/autoload.php ./phpmyfaq/src/phpMyFAQ -o docs/openapi.yaml",
"openapi:json": "./phpmyfaq/src/libs/bin/openapi -b ./phpmyfaq/src/libs/autoload.php -f json ./phpmyfaq/src/phpMyFAQ -o docs/openapi.json",
"openapi:yaml": "./phpmyfaq/src/libs/bin/openapi -b ./phpmyfaq/src/libs/autoload.php ./phpmyfaq/src/phpMyFAQ -o docs/openapi.yaml",
"phpstan": "./phpmyfaq/src/libs/bin/phpstan analyze --memory-limit=4G",
"refactor": "./phpmyfaq/src/libs/bin/rector",
"refactor:dryrun": "./phpmyfaq/src/libs/bin/rector --dry-run",
Expand Down
Loading

0 comments on commit 78a8105

Please sign in to comment.