Merge pull request #15075 from Budibase/readme-openapi-fix
Automate Readme OpenAPI updates
This commit is contained in:
commit
0126b99c2a
|
@ -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
|
|
@ -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.",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -142,7 +142,6 @@ layeredFilterGroup.items.properties.groups = filterGroup
|
|||
const viewQuerySchema = {
|
||||
description: "Search parameters for view",
|
||||
type: "object",
|
||||
required: [],
|
||||
properties: {
|
||||
logicalOperator,
|
||||
onEmptyFilter: {
|
||||
|
|
Loading…
Reference in New Issue