Closed sledgehammer999 closed 1 week ago
duplicate of #1027
@mrin9 would it be possible to at least output something in the console so one can debug this?
Btw, the linter from @redocly/cli doesn't report this as a problem. But I guess it's a problem with their own parser, because the OpenAPI spec indeed doesn't allow for $ref
in the paths
object.
In any case, this spec limitation really makes it hard to split off parts of the API into their own groups and hinders maintainability. /rant
The following sample spec doesn't get fully rendered because rapidoc doesn't follow the $ref document. No console output to debug with. Meanwhile @redocly/cli generates a static html which includes the referenced yaml too.
rapidoc version: 9.3.8
Here is a sample spec:
main.yml
api-part1.yml
index.html
It is rendered like this:
But it should have been rendered like this: