Updating OpenAPI specs, fixing an issue found when attempting to publish and automating this so don't need to manually check this again.
This commit is contained in:
parent
8559a1c49d
commit
f12be3b703
|
@ -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": {
|
"query": {
|
||||||
"description": "Search parameters for view",
|
"description": "Search parameters for view",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"logicalOperator": {
|
"logicalOperator": {
|
||||||
"description": "When using groups this defines whether all of the filters must match, or only one of them.",
|
"description": "When using groups this defines whether all of the filters must match, or only one of them.",
|
||||||
|
@ -2449,7 +2448,6 @@
|
||||||
"query": {
|
"query": {
|
||||||
"description": "Search parameters for view",
|
"description": "Search parameters for view",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"logicalOperator": {
|
"logicalOperator": {
|
||||||
"description": "When using groups this defines whether all of the filters must match, or only one of them.",
|
"description": "When using groups this defines whether all of the filters must match, or only one of them.",
|
||||||
|
@ -2743,7 +2741,6 @@
|
||||||
"query": {
|
"query": {
|
||||||
"description": "Search parameters for view",
|
"description": "Search parameters for view",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [],
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"logicalOperator": {
|
"logicalOperator": {
|
||||||
"description": "When using groups this defines whether all of the filters must match, or only one of them.",
|
"description": "When using groups this defines whether all of the filters must match, or only one of them.",
|
||||||
|
|
|
@ -1802,7 +1802,6 @@ components:
|
||||||
query:
|
query:
|
||||||
description: Search parameters for view
|
description: Search parameters for view
|
||||||
type: object
|
type: object
|
||||||
required: []
|
|
||||||
properties:
|
properties:
|
||||||
logicalOperator:
|
logicalOperator:
|
||||||
description: When using groups this defines whether all of the filters must
|
description: When using groups this defines whether all of the filters must
|
||||||
|
@ -2012,7 +2011,6 @@ components:
|
||||||
query:
|
query:
|
||||||
description: Search parameters for view
|
description: Search parameters for view
|
||||||
type: object
|
type: object
|
||||||
required: []
|
|
||||||
properties:
|
properties:
|
||||||
logicalOperator:
|
logicalOperator:
|
||||||
description: When using groups this defines whether all of the filters must
|
description: When using groups this defines whether all of the filters must
|
||||||
|
@ -2229,7 +2227,6 @@ components:
|
||||||
query:
|
query:
|
||||||
description: Search parameters for view
|
description: Search parameters for view
|
||||||
type: object
|
type: object
|
||||||
required: []
|
|
||||||
properties:
|
properties:
|
||||||
logicalOperator:
|
logicalOperator:
|
||||||
description: When using groups this defines whether all of the filters must
|
description: When using groups this defines whether all of the filters must
|
||||||
|
|
|
@ -142,7 +142,6 @@ layeredFilterGroup.items.properties.groups = filterGroup
|
||||||
const viewQuerySchema = {
|
const viewQuerySchema = {
|
||||||
description: "Search parameters for view",
|
description: "Search parameters for view",
|
||||||
type: "object",
|
type: "object",
|
||||||
required: [],
|
|
||||||
properties: {
|
properties: {
|
||||||
logicalOperator,
|
logicalOperator,
|
||||||
onEmptyFilter: {
|
onEmptyFilter: {
|
||||||
|
|
Loading…
Reference in New Issue