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:
rather it should be
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
. ExampleFollowing are comparisons of both rendered Before: where local title values are coming from
$ref
componentAfter: where desired title values are getting rendered