Skip to content

Commit

Permalink
Merge pull request #18 from rgmacalintal/master
Browse files Browse the repository at this point in the history
Support_30856_Add_ThermocyclerProfile_specs_+_test
  • Loading branch information
cgendreau authored Oct 11, 2024
2 parents 2eb4842 + 10d045b commit e79be8a
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 28 deletions.
52 changes: 26 additions & 26 deletions schema/indexSet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ paths:
get:
tags:
- Index Set
summary: get index set
summary: get index-set
operationId: getIndexSet
description: By passing in query string, user can get available index sets
parameters:
Expand Down Expand Up @@ -47,7 +47,7 @@ paths:
maximum: 50
responses:
'200':
description: index sets satifying the query restrictions
description: index-sets satifying the query restrictions
content:
application/json:
schema:
Expand All @@ -57,20 +57,20 @@ paths:
'400':
description: bad input parameter
'404':
description: index sets not found
description: index-sets not found
post:
tags:
- Index Set
summary: adds an index set
summary: adds an index-set
operationId: addIndexSet
description: Adds an index set
description: Adds an index-set
responses:
'201':
description: index set created
description: index-set created
'400':
description: 'invalid input, object invalid'
'409':
description: An index set already exists
description: An index-set already exists
requestBody:
content:
application/json:
Expand All @@ -81,13 +81,13 @@ paths:
get:
tags:
- Index Set
summary: Find index set by ID
description: Returns a single index set
summary: Find index-set by ID
description: Returns a single index-set
operationId: getIndexSetById
parameters:
- name: Id
in: path
description: ID of index set to return
description: ID of index-set to return
required: true
schema:
type: integer
Expand All @@ -101,17 +101,17 @@ paths:
"400":
description: Invalid ID supplied
"404":
description: index set not found
description: index-set not found
patch:
tags:
- Index Set
summary: update an index set
summary: update an index-set
operationId: updateIndexSet
description: update an index set
description: update an index-set
parameters:
- name: Id
in: path
description: index set id to patch
description: index-set id to patch
required: true
schema:
type: integer
Expand All @@ -129,23 +129,23 @@ paths:
delete:
tags:
- Index Set
summary: delete an index set
summary: delete an index-set
operationId: deleteIndexSet
description: delete an index set
description: delete an index-set
parameters:
- name: Id
in: path
description: index set id to delete
description: index-set id to delete
required: true
schema:
type: integer
responses:
'200':
description: index set marked as deleted
description: index-set marked as deleted
'400':
description: invalid ID supplied
'404':
description: index set not found
description: index-set not found

components:
schemas:
Expand Down Expand Up @@ -184,34 +184,34 @@ components:
enum: [index-set]
description: The type of data being returned.
attributes:
description: Schema representing the Index Set
description: Schema representing the index-set
type: object
required:
- name
properties:
createdBy:
type: string
readOnly: true
description: Authenticated User who created the Index Set
description: Authenticated User who created the index-set
createdOn:
type: string
format: date-time
readOnly: true
description: Date and time when the Index Set was created in ISO format
description: Date and time when the index-set was created in ISO format
example: 1985-04-12T23:20:50.52Z
group:
type: string
nullable: true
description: The group in which the index set belongs to
description: The group in which the index-set belongs to
name:
type: string
description: Index Set name
description: index-set name
forwardAdapter:
type: string
description: Forward Adapter for the Index Set
description: Forward Adapter for the index-set
reverseAdapter:
type: string
description: Reverse Adapter for the Index Set
description: Reverse Adapter for the index-set
relationships:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion schema/ngsIndex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ paths:
description: ngs-index to update
delete:
tags:
- Ngs Index
- NGS Index
summary: delete an ngs-index
operationId: deleteNgsIndex
description: delete an ngs-index
Expand Down
6 changes: 5 additions & 1 deletion schema/sequence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ paths:
/v1/ngs-index:
$ref: 'ngsIndex.yml#/paths/~1v1~1ngs-index'
/v1/ngs-index/{Id}:
$ref: 'ngsIndex.yml#/paths/~1v1~1ngs-index~1{Id}'
$ref: 'ngsIndex.yml#/paths/~1v1~1ngs-index~1{Id}'
/v1/thermocycler-profile:
$ref: 'thermocyclerProfile.yml#/paths/~1v1~1thermocycler-profile'
/v1/thermocycler-profile/{Id}:
$ref: 'thermocyclerProfile.yml#/paths/~1v1~1thermocycler-profile~1{Id}'
Loading

0 comments on commit e79be8a

Please sign in to comment.