Open
Description
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
rather it should be
type: 'null'
nullable: true
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.- Also neighbour items of
$ref
get ignored and they are required to be wrapped underallOf
.
Example- nonce: - title: nonce - $ref: '#/components/schemas/uint' + nonce: + allOf: + - $ref: "#/components/schemas/uint" + - title: nonce
Following are comparisons of both rendered
Before: where local title values are coming from $ref
component
Metadata
Metadata
Assignees
Labels
No labels