Skip to content

Commit f0df6de

Browse files
committed
fix: remove FIXME
1 parent 367022d commit f0df6de

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

deepaas/cmd/run.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
API documentation endpoint to check the API using the builtin Swagger UI
8080
or you can use any of our endpoints.
8181
82+
API documentation: {}
8283
API documentation: {}
8384
API specification: {}
8485
V2 endpoint: {}
@@ -103,14 +104,14 @@ def main():
103104
else:
104105
base_path = ""
105106

106-
# FIXME(aloga): ensure that these paths are correct
107107
base = "http://{}:{}{}".format(CONF.listen_ip, CONF.listen_port, base_path)
108-
spec = "{}/swagger.json".format(base)
109-
docs = "{}/api".format(base)
108+
spec = "{}/openapi.json".format(base)
109+
docs = "{}/docs".format(base)
110+
redoc = "{}/redoc".format(base)
110111
v2 = "{}/v2".format(base)
111112

112113
print(INTRO)
113-
print(BANNER.format(docs, spec, v2))
114+
print(BANNER.format(docs, redoc, spec, v2))
114115

115116
log.info(
116117
"Starting DEEPaaS version %s with FastAPI backend",

0 commit comments

Comments
 (0)