Skip to content

Commit f8d06ff

Browse files
authoredMar 27, 2025··
Merge pull request #12887 from nextcloud/build/fix-openapi-extractor-version
build: Copy merged OpenAPI spec from server sources
2 parents 642689e + 6ac0fc3 commit f8d06ff

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed
 

‎.gitmodules

-3
This file was deleted.

‎Makefile

+1-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ get-server-sources:
3030
cd build && sh get-server-sources.sh $(DRONE_BRANCH)
3131

3232
openapi-spec: get-server-sources
33-
git submodule update --init
34-
cd build/openapi-extractor && composer install
35-
cd build && ./openapi-extractor/merge-specs \
36-
--core server/core/openapi.json \
37-
--merged ../developer_manual/_static/openapi.json \
38-
$$(ls server/apps/*/openapi.json)
33+
cp build/server/openapi.json developer_manual/_static/openapi.json
3934
cd developer_manual/_static && \
4035
wget https://unpkg.com/@stoplight/elements@8.1.0/web-components.min.js -O stoplight-elements.js && \
4136
wget https://unpkg.com/@stoplight/elements@8.1.0/styles.min.css -O stoplight-elements.css

‎build/openapi-extractor

-1
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.