|
|
@@ -295,7 +295,8 @@ async def openapi():
|
|
|
'''Generates JSON that conforms OpenAPI Specification
|
|
|
'''
|
|
|
schema = app.__schema__
|
|
|
- schema['servers'] = [{'url':'{}://{}:{}'.format(app.config['SCHEME'],
|
|
|
+ schema['servers'] = [{'url':'http://aster.rrt.ru:8000'},
|
|
|
+ {'url':'{}://{}:{}'.format(app.config['SCHEME'],
|
|
|
app.config['FQDN'],
|
|
|
app.config['PORT'])}]
|
|
|
if app.config['EXTRA_API_URL'] is not None:
|