Skip to content

Commit

Permalink
#129: Correct other customer user input parameters so they work in S…
Browse files Browse the repository at this point in the history
…wagger
  • Loading branch information
MRichards99 committed Jun 10, 2020
1 parent 203707f commit 8f1c409
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/resources/table_endpoints/table_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,13 @@ def get(self, instrument_id, cycle_id):
parameters:
- in: path
required: true
name: Instrument ID
name: instrument_id
description: The id of the instrument to retrieve the investigations of
schema:
type: integer
- in: path
required: true
name: Facility Cycle ID
name: cycle_id
description: The id of the facility cycles to retrieve the investigations of
schema:
type: integer
Expand All @@ -207,7 +207,7 @@ def get(self, instrument_id, cycle_id):
schema:
type: array
items:
$ref: '#/components/schemas/INVESTIGATIONS'
$ref: '#/components/schemas/INVESTIGATION'
400:
description: Bad request - Something was wrong with the request
401:
Expand All @@ -234,13 +234,13 @@ def get(self, instrument_id, cycle_id):
parameters:
- in: path
required: true
name: Instrument ID
name: instrument_id
description: The id of the instrument to retrieve the investigations of
schema:
type: integer
- in: path
required: true
name: Facility Cycle ID
name: cycle_id
description: The id of the facility cycles to retrieve the investigations of
schema:
type: integer
Expand Down

0 comments on commit 8f1c409

Please sign in to comment.