Fix swagger bits

This commit is contained in:
Jamie Curnow committed 2023-05-31 11:35:09 +10:00
1 parent f55a7a792f
commit aec0a606af
3 files changed
+7

No files matched your search

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