diff --git a/composer.json b/composer.json
index ff381015d7b..5e9b50e2771 100644
--- a/composer.json
+++ b/composer.json
@@ -71,7 +71,8 @@
 		"test": "phpunit --configuration tests/phpunit-autotest.xml",
 		"test:db": "@composer run test -- --group DB,SLOWDB",
 		"test:files_external": "phpunit --configuration tests/phpunit-autotest-external.xml",
-		"rector": "rector --config=build/rector.php && composer cs:fix"
+		"rector": "rector --config=build/rector.php && composer cs:fix",
+		"openapi": "./build/openapi-checker.sh"
 	},
 	"extra": {
 		"bamarni-bin": {