Skip to content

Commit

Permalink
chore: update swagger doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lbbdeveloper committed Oct 7, 2023
1 parent 249b052 commit fc5b291
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions server/handlers/deviceConfigurationHandler/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const singleDeviceConfigurationResponse = {
content: {
'application/json': {
schema: {
$ref: '#/components/schemas/Device-Configuration',
$ref: '#/components/schemas/DeviceConfiguration',
},
},
},
Expand Down Expand Up @@ -41,10 +41,10 @@ const deviceConfigurationSwagger = {
schema: {
type: 'object',
properties: {
tags: {
device_configurations: {
type: 'array',
items: {
$ref: '#/components/schemas/Device-Configuration',
$ref: '#/components/schemas/DeviceConfiguration',
},
},
},
Expand Down
8 changes: 4 additions & 4 deletions server/handlers/rawCaptureHandler/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const singleRawCaptureResponse = {
content: {
'application/json': {
schema: {
$ref: '#/components/schemas/Raw-Capture',
$ref: '#/components/schemas/RawCapture',
},
},
},
Expand Down Expand Up @@ -45,10 +45,10 @@ const rawCaptureSwagger = {
schema: {
type: 'object',
properties: {
tags: {
raw_captures: {
type: 'array',
items: {
$ref: '#/components/schemas/Raw-Capture',
$ref: '#/components/schemas/RawCapture',
},
},
},
Expand Down Expand Up @@ -115,7 +115,7 @@ const rawCaptureSwagger = {
content: {
'application/json': {
schema: {
$ref: '#/components/schemas/Raw-Capture',
$ref: '#/components/schemas/RawCapture',
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion server/handlers/sessionHandler/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const sessionSwagger = {
schema: {
type: 'object',
properties: {
tags: {
sessions: {
type: 'array',
items: {
$ref: '#/components/schemas/Session',
Expand Down
6 changes: 3 additions & 3 deletions server/handlers/walletRegistrationHandler/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const singleRawCaptureResponse = {
content: {
'application/json': {
schema: {
$ref: '#/components/schemas/Session',
$ref: '#/components/schemas/WalletRegistration',
},
},
},
Expand Down Expand Up @@ -41,10 +41,10 @@ const walletRegistrationSwagger = {
schema: {
type: 'object',
properties: {
tags: {
wallet_registrations: {
type: 'array',
items: {
$ref: '#/components/schemas/Session',
$ref: '#/components/schemas/WalletRegistration',
},
},
},
Expand Down

0 comments on commit fc5b291

Please sign in to comment.