Skip to content

Commit 40e2cd4

Browse files
authored
Store OpenAPI specs in repository: all changes together (#3059)
* Version OpenAPI files in the repository * TMP hardcoded branch * Make download urls version-aware * Apply suggestion from @mnocon * Apply suggestion from @mnocon * Added removing backup file * PHP API Ref HTML * REST API Ref HTML * REST API OpenAPI spec * [create-pull-request] automated change * Added template redocly file * Fixed Redocly file * Version OpenAPI files in the repository * TMP hardcoded branch * Make download urls version-aware * Apply suggestion from @mnocon * Apply suggestion from @mnocon * Added removing backup file * Fixed link * Fixed link * Reverted TMP change --------- Co-authored-by: mnocon <10993858+mnocon@users.noreply.github.com>
1 parent ddd5591 commit 40e2cd4

22 files changed

Lines changed: 99646 additions & 4448 deletions

.github/workflows/api_refs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
git diff-index --quiet --cached HEAD || git commit -m "PHP API Ref HTML"
7474
git add docs/api/rest_api/rest_api_reference/rest_api_reference.html
7575
git diff-index --quiet --cached HEAD || git commit -m "REST API Ref HTML"
76+
git add docs/api/rest_api/rest_api_reference/openapi.yaml
77+
git add docs/api/rest_api/rest_api_reference/openapi.json
78+
git diff-index --quiet --cached HEAD || git commit -m "REST API OpenAPI spec"
7679
7780
- name: Create Pull Request
7881
uses: peter-evans/create-pull-request@v7

docs/api/php_api/php_api_reference/namespaces/ibexa-contracts-elasticsearch-elasticsearch-index-group.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@
229229
<div class="content-header">
230230
<div class="pills">
231231

232-
233-
</div>
232+
233+
</div>
234234
<h1>
235235
Group
236236
</h1>

docs/api/php_api/php_api_reference/namespaces/ibexa-contracts-elasticsearch-elasticsearch-index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@
225225
<div class="content-header">
226226
<div class="pills">
227227

228-
229-
</div>
228+
229+
</div>
230230
<h1>
231231
Index
232232
</h1>

0 commit comments

Comments
 (0)