From 8559a1c49d6e2067f37f751a7706571f3473bd28 Mon Sep 17 00:00:00 2001 From: Budibase Staging Release Bot <> Date: Wed, 27 Nov 2024 11:07:26 +0000 Subject: [PATCH 1/2] Bump version to 3.2.13 --- lerna.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerna.json b/lerna.json index dc238bb392..fdd10e4bf1 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "3.2.12", + "version": "3.2.13", "npmClient": "yarn", "concurrency": 20, "command": { From f12be3b703326e2ffeeb2077f786d28cf1d66ee6 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 27 Nov 2024 11:23:51 +0000 Subject: [PATCH 2/2] Updating OpenAPI specs, fixing an issue found when attempting to publish and automating this so don't need to manually check this again. --- .github/workflows/readme-openapi.yml | 28 +++++++++++++++++++++++++ packages/server/specs/openapi.json | 3 --- packages/server/specs/openapi.yaml | 3 --- packages/server/specs/resources/view.ts | 1 - 4 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/readme-openapi.yml diff --git a/.github/workflows/readme-openapi.yml b/.github/workflows/readme-openapi.yml new file mode 100644 index 0000000000..14e9887dd6 --- /dev/null +++ b/.github/workflows/readme-openapi.yml @@ -0,0 +1,28 @@ +name: ReadMe GitHub Action 🦉 + +on: + push: + branches: + - master + +jobs: + rdme-openapi: + runs-on: ubuntu-latest + steps: + - name: Check out repo + uses: actions/checkout@v3 + + - name: Use Node.js 20.x + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: yarn + - run: yarn --frozen-lockfile + + - name: update specs + run: cd packages/server && yarn specs + + - name: Run `openapi` command + uses: readmeio/rdme@v8 + with: + rdme: openapi specs/openapi.yaml --key=${{ secrets.README_API_KEY }} --id=6728a74f5918b50036c61841 diff --git a/packages/server/specs/openapi.json b/packages/server/specs/openapi.json index c47a14cf21..9d356b9931 100644 --- a/packages/server/specs/openapi.json +++ b/packages/server/specs/openapi.json @@ -2166,7 +2166,6 @@ "query": { "description": "Search parameters for view", "type": "object", - "required": [], "properties": { "logicalOperator": { "description": "When using groups this defines whether all of the filters must match, or only one of them.", @@ -2449,7 +2448,6 @@ "query": { "description": "Search parameters for view", "type": "object", - "required": [], "properties": { "logicalOperator": { "description": "When using groups this defines whether all of the filters must match, or only one of them.", @@ -2743,7 +2741,6 @@ "query": { "description": "Search parameters for view", "type": "object", - "required": [], "properties": { "logicalOperator": { "description": "When using groups this defines whether all of the filters must match, or only one of them.", diff --git a/packages/server/specs/openapi.yaml b/packages/server/specs/openapi.yaml index edfb29f432..9ad242f24c 100644 --- a/packages/server/specs/openapi.yaml +++ b/packages/server/specs/openapi.yaml @@ -1802,7 +1802,6 @@ components: query: description: Search parameters for view type: object - required: [] properties: logicalOperator: description: When using groups this defines whether all of the filters must @@ -2012,7 +2011,6 @@ components: query: description: Search parameters for view type: object - required: [] properties: logicalOperator: description: When using groups this defines whether all of the filters must @@ -2229,7 +2227,6 @@ components: query: description: Search parameters for view type: object - required: [] properties: logicalOperator: description: When using groups this defines whether all of the filters must diff --git a/packages/server/specs/resources/view.ts b/packages/server/specs/resources/view.ts index aeb2b97aa9..5becd67a37 100644 --- a/packages/server/specs/resources/view.ts +++ b/packages/server/specs/resources/view.ts @@ -142,7 +142,6 @@ layeredFilterGroup.items.properties.groups = filterGroup const viewQuerySchema = { description: "Search parameters for view", type: "object", - required: [], properties: { logicalOperator, onEmptyFilter: {