|
|
|
@ -17,7 +17,7 @@ import subprocess
|
|
|
|
|
import urllib
|
|
|
|
|
import yaml
|
|
|
|
|
|
|
|
|
|
HTTP_APIS = "../api/client-server"
|
|
|
|
|
HTTP_APIS = ("../api/application-service", "../api/client-server",)
|
|
|
|
|
EVENT_EXAMPLES = "../event-schemas/examples"
|
|
|
|
|
EVENT_SCHEMA = "../event-schemas/schema"
|
|
|
|
|
CORE_EVENT_SCHEMA = "../event-schemas/schema/core-event-schema"
|
|
|
|
@ -549,7 +549,7 @@ class MatrixUnits(Units):
|
|
|
|
|
|
|
|
|
|
def load_swagger_apis(self):
|
|
|
|
|
apis = {}
|
|
|
|
|
path = HTTP_APIS
|
|
|
|
|
for path in HTTP_APIS:
|
|
|
|
|
for filename in os.listdir(path):
|
|
|
|
|
if not filename.endswith(".yaml"):
|
|
|
|
|
continue
|
|
|
|
|