Skip to content

Commit

Permalink
Merge pull request #15 from TimesysGit/ebf1.0.2
Browse files Browse the repository at this point in the history
Spec files - missing fields added to response
  • Loading branch information
harishbansal authored Feb 28, 2021
2 parents 3aff235 + 0847957 commit 8a0cd3e
Show file tree
Hide file tree
Showing 53 changed files with 258 additions and 224 deletions.
8 changes: 7 additions & 1 deletion spec/auth_token/token_create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ paths:
type: object
properties:
result:
type: string
message:
type: string
data:
type: object
properties:
token:
type: string
type: string
required:
- result
2 changes: 1 addition & 1 deletion spec/device_management/device_allocate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ paths:
message:
type: string
required:
- result
- result
4 changes: 3 additions & 1 deletion spec/device_management/device_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: object
properties:
Expand Down Expand Up @@ -80,4 +82,4 @@ paths:
- AssignedTo
- PowerCommands
required:
- result
- result
2 changes: 1 addition & 1 deletion spec/device_management/device_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ paths:
items:
type: string
required:
- result
- result
2 changes: 1 addition & 1 deletion spec/device_management/device_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ paths:
message:
type: string
required:
- result
- result
2 changes: 1 addition & 1 deletion spec/device_management/device_release_force.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ paths:
message:
type: string
required:
- result
- result
6 changes: 5 additions & 1 deletion spec/device_management/device_status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ paths:
status:
type: string
assigned_to:
type: string
type: string
message:
type: string
required:
- result
6 changes: 5 additions & 1 deletion spec/hotplug/hotplug_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: object
properties:
Expand All @@ -44,4 +46,6 @@ paths:
hotplug-3:
type: string
hotplug-4:
type: string
type: string
required:
- result
4 changes: 4 additions & 0 deletions spec/hotplug/hotplug_off.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: string
required:
- result
x-codegen-request-body-name: data
4 changes: 4 additions & 0 deletions spec/hotplug/hotplug_on.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: string
required:
- result
x-codegen-request-body-name: data
6 changes: 5 additions & 1 deletion spec/hotplug/hotplug_status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: string
type: string
required:
- result
4 changes: 4 additions & 0 deletions spec/hotplug/hotplug_switch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: string
required:
- result
x-codegen-request-body-name: data
6 changes: 5 additions & 1 deletion spec/labcontrollers/lab_controllers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: array
items:
Expand All @@ -42,4 +44,6 @@ paths:
id:
type: string
'type':
type: string
type: string
required:
- result
4 changes: 4 additions & 0 deletions spec/netboot/netboot_fmanager_download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: object
properties:
Expand All @@ -50,3 +52,5 @@ paths:
type: boolean
file_size:
type: integer
required:
- result
6 changes: 5 additions & 1 deletion spec/netboot/netboot_fmanager_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ paths:
properties:
result:
type: string
message:
type: string
data:
type: array
items:
Expand All @@ -55,4 +57,6 @@ paths:
file_or_dir_name:
type: string
'type':
type: string
type: string
required:
- result
46 changes: 28 additions & 18 deletions spec/netboot/netboot_fmanager_list_upload_delete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,19 @@ paths:
schema:
type: object
properties:
file:
title: File
result:
type: string
message:
type: string
format: uri
readOnly: true
data:
type: array
file:
title: File
type: string
format: uri
readOnly: true
required:
- result
put:
tags:
- api
Expand Down Expand Up @@ -78,11 +86,14 @@ paths:
schema:
type: object
properties:
file:
title: File
result:
type: string
format: uri
readOnly: true
message:
type: string
required:
- result
required:
- result
x-codegen-request-body-name: data
post:
tags:
Expand Down Expand Up @@ -120,11 +131,14 @@ paths:
schema:
type: object
properties:
file:
title: File
result:
type: string
message:
type: string
format: uri
readOnly: true
required:
- result
required:
- result
x-codegen-request-body-name: data
delete:
tags:
Expand Down Expand Up @@ -154,9 +168,5 @@ paths:
type: string
message:
type: string
required:
- result




required:
- result
Loading

0 comments on commit 8a0cd3e

Please sign in to comment.