Skip to content

Commit

Permalink
chore(pkg/api): set optional parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Jeronimo Irazabal <[email protected]>
  • Loading branch information
jeroiraz committed Oct 13, 2023
1 parent 6db5bcb commit 57d8f26
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions pkg/api/openapi/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@
"revisions": {
"type": "array",
"items": {
"$ref": "#/definitions/modelDocumentAtRevision"
"$ref": "#/definitions/modelDocumentAtRevisionAudit"
}
}
},
Expand Down Expand Up @@ -956,6 +956,17 @@
"type": "object"
},
"modelDocumentAtRevision": {
"type": "object",
"properties": {
"document": {
"type": "object"
}
},
"required": [
"document"
]
},
"modelDocumentAtRevisionAudit": {
"type": "object",
"properties": {
"transactionId": {
Expand Down Expand Up @@ -986,7 +997,9 @@
"required": [
"transactionId",
"documentId",
"revision"
"revision",
"username",
"ts"
]
},
"modelDocumentMetadata": {
Expand Down Expand Up @@ -1207,9 +1220,7 @@
}
},
"required": [
"expressions",
"orderBy",
"limit"
"expressions"
]
},
"modelQueryExpression": {
Expand Down Expand Up @@ -1279,8 +1290,7 @@
"required": [
"query",
"page",
"pageSize",
"keepOpen"
"pageSize"
]
},
"modelSearchDocumentsRequestWith": {
Expand All @@ -1300,8 +1310,7 @@
},
"required": [
"page",
"pageSize",
"keepOpen"
"pageSize"
]
},
"modelSearchDocumentsResponse": {
Expand Down

0 comments on commit 57d8f26

Please sign in to comment.