Skip to content

Commit 22995df

Browse files
committed
rm openapi.php: Now sorted in the source in-code doc
1 parent 2c8223a commit 22995df

2 files changed

Lines changed: 0 additions & 28 deletions

File tree

tools/api_refs/api_refs.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ PHPDOC_DIR="$(pwd)/tools/api_refs/.phpdoc"; # Absolute path to phpDocumentor res
2121
REDOCLY_CONFIG_TEMPLATE="$(pwd)/tools/api_refs/redocly.yaml.template"; # Absolute path to Redocly configuration template file
2222
REDOCLY_CONFIG="$(pwd)/tools/api_refs/redocly.yaml"; # Absolute path to Redocly configuration file (generated from template)
2323
REDOCLY_TEMPLATE="$(pwd)/tools/api_refs/redocly.hbs"; # Absolute path to Redocly wrapping template
24-
OPENAPI_FIX="$(pwd)/tools/api_refs/openapi.php"; # A script editing and fixing few things on the dumped schema (should be temporary and fixes reported to source)
2524

2625
PHP_BINARY="php -d error_reporting=`php -r 'echo E_ALL & ~E_DEPRECATED;'`"; # Avoid depreciation messages from phpDocumentor/Reflection/issues/529 when using PHP 8.2 or higher
2726
TMP_DXP_DIR=/tmp/ibexa-dxp-phpdoc; # Absolute path of the temporary directory in which Ibexa DXP will be installed and the PHP API Reference built
@@ -225,8 +224,6 @@ $PHP_BINARY bin/console ibexa:openapi --yaml \
225224
$PHP_BINARY bin/console ibexa:openapi \
226225
| sed 's@"info": {@"info": {\n "x-logo": {\n "url": "https://doc.ibexa.co/en/latest/images/ibexa-dxp-logo.png"\n },@' \
227226
> openapi.json;
228-
echo 'Fix REST OpenAPI schema… ';
229-
$PHP_BINARY $OPENAPI_FIX;
230227
echo 'Build REST Reference… ';
231228
echo 'Generate Redocly config from template… ';
232229
# Replace version with the base branch

tools/api_refs/openapi.php

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)