Skip to content

Commit

Permalink
📝 Update openapi spec
Browse files Browse the repository at this point in the history
Signed-off-by: ff137 <ff137@proton.me>
  • Loading branch information
ff137 committed Aug 29, 2024
1 parent 806cf5d commit 81956b1
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 32 deletions.
40 changes: 24 additions & 16 deletions open-api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2058,16 +2058,18 @@
"in" : "query",
"name" : "count",
"schema" : {
"pattern" : "^[1-9][0-9]*$",
"type" : "string"
"default" : 10,
"minimum" : 1,
"type" : "integer"
}
}, {
"description" : "Start index",
"in" : "query",
"name" : "start",
"schema" : {
"pattern" : "^[0-9]*$",
"type" : "string"
"default" : 0,
"minimum" : 0,
"type" : "integer"
}
}, {
"description" : "(JSON) WQL query",
Expand Down Expand Up @@ -2101,16 +2103,18 @@
"in" : "query",
"name" : "count",
"schema" : {
"pattern" : "^[1-9][0-9]*$",
"type" : "string"
"default" : 10,
"minimum" : 1,
"type" : "integer"
}
}, {
"description" : "Start index",
"in" : "query",
"name" : "start",
"schema" : {
"pattern" : "^[0-9]*$",
"type" : "string"
"default" : 0,
"minimum" : 0,
"type" : "integer"
}
}, {
"description" : "(JSON) WQL query",
Expand Down Expand Up @@ -4927,8 +4931,9 @@
"in" : "query",
"name" : "count",
"schema" : {
"pattern" : "^[1-9][0-9]*$",
"type" : "string"
"default" : 10,
"minimum" : 1,
"type" : "integer"
}
}, {
"description" : "(JSON) object mapping referents to extra WQL queries",
Expand All @@ -4950,8 +4955,9 @@
"in" : "query",
"name" : "start",
"schema" : {
"pattern" : "^[0-9]*$",
"type" : "string"
"default" : 0,
"minimum" : 0,
"type" : "integer"
}
} ],
"responses" : {
Expand Down Expand Up @@ -5345,8 +5351,9 @@
"in" : "query",
"name" : "count",
"schema" : {
"pattern" : "^[1-9][0-9]*$",
"type" : "string"
"default" : 10,
"minimum" : 1,
"type" : "integer"
}
}, {
"description" : "(JSON) object mapping referents to extra WQL queries",
Expand All @@ -5368,8 +5375,9 @@
"in" : "query",
"name" : "start",
"schema" : {
"pattern" : "^[0-9]*$",
"type" : "string"
"default" : 0,
"minimum" : 0,
"type" : "integer"
}
} ],
"responses" : {
Expand Down
40 changes: 24 additions & 16 deletions open-api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1720,15 +1720,17 @@
"in" : "query",
"description" : "Maximum number to retrieve",
"required" : false,
"type" : "string",
"pattern" : "^[1-9][0-9]*$"
"type" : "integer",
"default" : 10,
"minimum" : 1
}, {
"name" : "start",
"in" : "query",
"description" : "Start index",
"required" : false,
"type" : "string",
"pattern" : "^[0-9]*$"
"type" : "integer",
"default" : 0,
"minimum" : 0
}, {
"name" : "wql",
"in" : "query",
Expand Down Expand Up @@ -1764,15 +1766,17 @@
"in" : "query",
"description" : "Maximum number to retrieve",
"required" : false,
"type" : "string",
"pattern" : "^[1-9][0-9]*$"
"type" : "integer",
"default" : 10,
"minimum" : 1
}, {
"name" : "start",
"in" : "query",
"description" : "Start index",
"required" : false,
"type" : "string",
"pattern" : "^[0-9]*$"
"type" : "integer",
"default" : 0,
"minimum" : 0
}, {
"name" : "wql",
"in" : "query",
Expand Down Expand Up @@ -4052,8 +4056,9 @@
"in" : "query",
"description" : "Maximum number to retrieve",
"required" : false,
"type" : "string",
"pattern" : "^[1-9][0-9]*$"
"type" : "integer",
"default" : 10,
"minimum" : 1
}, {
"name" : "extra_query",
"in" : "query",
Expand All @@ -4072,8 +4077,9 @@
"in" : "query",
"description" : "Start index",
"required" : false,
"type" : "string",
"pattern" : "^[0-9]*$"
"type" : "integer",
"default" : 0,
"minimum" : 0
} ],
"responses" : {
"200" : {
Expand Down Expand Up @@ -4391,8 +4397,9 @@
"in" : "query",
"description" : "Maximum number to retrieve",
"required" : false,
"type" : "string",
"pattern" : "^[1-9][0-9]*$"
"type" : "integer",
"default" : 10,
"minimum" : 1
}, {
"name" : "extra_query",
"in" : "query",
Expand All @@ -4411,8 +4418,9 @@
"in" : "query",
"description" : "Start index",
"required" : false,
"type" : "string",
"pattern" : "^[0-9]*$"
"type" : "integer",
"default" : 0,
"minimum" : 0
} ],
"deprecated" : true,
"responses" : {
Expand Down

0 comments on commit 81956b1

Please sign in to comment.