From a8990d60dd8d5d46009779d7a897c0778688668b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Crespo=20Garc=C3=ADa?= Date: Mon, 22 Dec 2025 09:15:39 +0100 Subject: [PATCH] Edit instructions for updating API docs --- platform-api-docs/README.md | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/platform-api-docs/README.md b/platform-api-docs/README.md index 558f24f2d..ecf8b389a 100644 --- a/platform-api-docs/README.md +++ b/platform-api-docs/README.md @@ -31,21 +31,10 @@ git pull origin master ``` -2. From Platform repo root, run `make update-api-docs`: - ```bash - make update-api-docs - ``` - **IMPORTANT**: When prompted, **DO NOT INCREMENT VERSION** - -3. Copy new base spec from Platform repo: - ```bash - # Base spec will be at: - tower-backend/build/classes/groovy/main/META-INF/swagger/seqera-api-*.yml - ``` - -4. Move new base spec to docs repo: - ```bash - cp tower-backend/build/classes/groovy/main/META-INF/swagger/seqera-api-*.yml \ +2. Copy the base spec from Platform repo to docs repo: +```bash + # Base spec will be at: tower-backend/src/main/resources/META-INF/openapi/seqera-api-latest-flattened.yml + cp tower-backend/src/main/resources/META-INF/openapi/seqera-api-latest-flattened.yml /path/to/docs-repo/platform-api-docs/specs/ ```