You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on some tooling over execution APIs where rendering of docs happening through Openapi schema.
I was taking transactions definition as defined in this repository.
There are some issues:
There is nothing like
type: 'null'
rather it should be
nullable: true
title is defined before using $ref which results in local title to be replaced with title value inside $ref. So, to overwrite title value from $ref, it should be defined after $ref key.
Also neighbour items of $ref get ignored and they are required to be wrapped under allOf.
Example
I am working on some tooling over execution APIs where rendering of docs happening through Openapi schema.
I was taking transactions definition as defined in this repository.
There are some issues:
title
is defined before using$ref
which results in localtitle
to be replaced withtitle
value inside$ref
. So, to overwritetitle
value from$ref
, it should be defined after$ref
key.$ref
get ignored and they are required to be wrapped underallOf
.Example
Following are comparisons of both rendered
Before: where local title values are coming from
$ref
componentAfter: where desired title values are getting rendered
The text was updated successfully, but these errors were encountered: