chore(server): openapi (#7794)

* chore(server): openapi

* openapi
This commit is contained in:
Alex 2024-03-09 14:01:52 -06:00 committed by GitHub
parent 3bdd2612ce
commit a6cd4b8427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -2358,6 +2358,7 @@
"required": false,
"in": "query",
"schema": {
"format": "uuid",
"type": "array",
"items": {
"type": "string"
@ -4630,7 +4631,7 @@
"required": true
},
"responses": {
"201": {
"200": {
"content": {
"application/json": {
"schema": {
@ -4768,7 +4769,7 @@
"required": true
},
"responses": {
"201": {
"200": {
"content": {
"application/json": {
"schema": {
@ -8481,6 +8482,7 @@
},
"personIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
@ -9611,6 +9613,7 @@
},
"personIds": {
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"

View File

@ -2210,7 +2210,7 @@ export function searchMetadata({ metadataSearchDto }: {
metadataSearchDto: MetadataSearchDto;
}, opts?: Oazapfts.RequestOpts) {
return oazapfts.ok(oazapfts.fetchJson<{
status: 201;
status: 200;
data: SearchResponseDto;
}>("/search/metadata", oazapfts.json({
...opts,
@ -2248,7 +2248,7 @@ export function searchSmart({ smartSearchDto }: {
smartSearchDto: SmartSearchDto;
}, opts?: Oazapfts.RequestOpts) {
return oazapfts.ok(oazapfts.fetchJson<{
status: 201;
status: 200;
data: SearchResponseDto;
}>("/search/smart", oazapfts.json({
...opts,