Fix swagger bits

This commit is contained in:
Jamie Curnow 2023-05-31 11:35:09 +10:00
parent f55a7a792f
commit aec0a606af
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E
3 changed files with 7 additions and 0 deletions

View File

@ -48,6 +48,7 @@
"required": ["error"],
"properties": {
"result": {
"type": "object",
"nullable": true
},
"error": {

View File

@ -17,6 +17,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": ["result"],
"properties": {
"result": {
@ -52,9 +53,11 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": ["error"],
"properties": {
"result": {
"type": "object",
"nullable": true
},
"error": {

View File

@ -38,6 +38,7 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": ["result"],
"properties": {
"result": {
@ -70,9 +71,11 @@
"content": {
"application/json": {
"schema": {
"type": "object",
"required": ["error"],
"properties": {
"result": {
"type": "object",
"nullable": true
},
"error": {