File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979API documentation endpoint to check the API using the builtin Swagger UI
8080or 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" ,
You can’t perform that action at this time.
0 commit comments