Skip to content

Commit

Permalink
#166: Fix Swagger data parsing for entity by ID endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Oct 21, 2020
1 parent c2e7497 commit fe9623b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/resources/entities/entity_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def get(self, id_):
parameters:
- in: path
required: true
name: id
name: id_
description: The id of the entity to retrieve
schema:
type: integer
Expand Down Expand Up @@ -215,7 +215,7 @@ def delete(self, id_):
parameters:
- in: path
required: true
name: id
name: id_
description: The id of the entity to delete
schema:
type: integer
Expand Down Expand Up @@ -246,7 +246,7 @@ def patch(self, id_):
parameters:
- in: path
required: true
name: id
name: id_
description: The id of the entity to update
schema:
type: integer
Expand Down
4 changes: 2 additions & 2 deletions src/resources/table_endpoints/table_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get(self, id_):
parameters:
- in: path
required: true
name: id
name: id_
description: The id of the instrument to retrieve the facility cycles of
schema:
type: integer
Expand Down Expand Up @@ -71,7 +71,7 @@ def get(self, id_):
parameters:
- in: path
required: true
name: id
name: id_
description: The id of the instrument to count the facility cycles of
schema:
type: integer
Expand Down

0 comments on commit fe9623b

Please sign in to comment.