Resolve references by default
This means I can re-use this function for the swagger-UI generation I can't see why you would want un-resolved references as a consumer.
This commit is contained in:
parent
4c82578820
commit
b8ea5f7ffb
1 changed files with 1 additions and 0 deletions
|
@ -559,6 +559,7 @@ class MatrixUnits(Units):
|
|||
# strip .yaml
|
||||
group_name = filename[:-5].replace("-", "_")
|
||||
api = yaml.load(f.read())
|
||||
api = resolve_references(filepath, api)
|
||||
api["__meta"] = self._load_swagger_meta(
|
||||
filepath, api, group_name
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue