Merge pull request #208 from matrix-org/daniel/resolverefs2
Resolve references by default
This commit is contained in:
commit
6b8ee850c0
1 changed files with 1 additions and 0 deletions
|
@ -559,6 +559,7 @@ class MatrixUnits(Units):
|
||||||
# strip .yaml
|
# strip .yaml
|
||||||
group_name = filename[:-5].replace("-", "_")
|
group_name = filename[:-5].replace("-", "_")
|
||||||
api = yaml.load(f.read())
|
api = yaml.load(f.read())
|
||||||
|
api = resolve_references(filepath, api)
|
||||||
api["__meta"] = self._load_swagger_meta(
|
api["__meta"] = self._load_swagger_meta(
|
||||||
filepath, api, group_name
|
filepath, api, group_name
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue