Skip to content

Commit

Permalink
return string
Browse files Browse the repository at this point in the history
  • Loading branch information
GiaJordan committed Jul 31, 2023
1 parent f41ce47 commit 6b2d3c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions schematic_api/api/openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1273,15 +1273,11 @@ paths:
"200":
description: Returns a JSON String containing the version of schematic.
content:
text/json:
text/plain:
schema:
type: string
"500":
description: Schematic version was not able to be identified.
content:
text/json:
schema:
type: string
tags:
- Version

2 changes: 1 addition & 1 deletion schematic_api/api/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,4 +821,4 @@ def get_schematic_version() -> str:
"""
if "VERSION" in os.environ:
version = os.environ["VERSION"]
return json.dumps(version)
return version

0 comments on commit 6b2d3c8

Please sign in to comment.