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"], "required": ["error"],
"properties": { "properties": {
"result": { "result": {
"type": "object",
"nullable": true "nullable": true
}, },
"error": { "error": {

View File

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

View File

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