diff --git a/schematic_api/api/openapi/api.yaml b/schematic_api/api/openapi/api.yaml index d67b036fc..850baab57 100644 --- a/schematic_api/api/openapi/api.yaml +++ b/schematic_api/api/openapi/api.yaml @@ -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 \ No newline at end of file diff --git a/schematic_api/api/routes.py b/schematic_api/api/routes.py index 5bdc1c6fc..095cb6dab 100644 --- a/schematic_api/api/routes.py +++ b/schematic_api/api/routes.py @@ -821,4 +821,4 @@ def get_schematic_version() -> str: """ if "VERSION" in os.environ: version = os.environ["VERSION"] - return json.dumps(version) + return version