Make resolve-allof partial recursive (#1787)
Makes it easier to use, like resolve-refs. It just needs to be called once. Fixes an issue with m.call.* events not displaying the common fields Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
073ce659df
commit
e82829d4a2
8 changed files with 56 additions and 94 deletions
|
@ -47,7 +47,7 @@
|
|||
Display the JSON schemas
|
||||
*/}}
|
||||
|
||||
{{ $schema := partial "json-schema/resolve-allof" $json_body.schema }}
|
||||
{{ $schema := $json_body.schema }}
|
||||
|
||||
{{/*
|
||||
All this is to work out how to express the content of the response
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue