It looks this library fail to parse spec which has recursive references like this
https://github.com/hottestseason/kin-openapi/tree/f9ccdc2e69d360c4f17a7c94189526457e90b1f3/openapi3/testdata/recursiveRef
openapi: "3.0.3"
info:
title: Recursive refs example
version: "1.0"
paths:
/foo:
$ref: ./paths/foo.yml
components:
schemas:
Foo:
$ref: ./components/Foo.yml
Bar:
$ref: ./components/Bar.yml
get:
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
foo:
$ref: ../openapi.yml#/components/schemas/Foo
type: object
properties:
bar:
type: array
items:
$ref: ../openapi.yml#/components/schemas/Bar
type: string
example: bar
It works when loading bundled version such as using swagger-cli bundle
It looks this library fail to parse spec which has recursive references like this
https://github.com/hottestseason/kin-openapi/tree/f9ccdc2e69d360c4f17a7c94189526457e90b1f3/openapi3/testdata/recursiveRef
It works when loading bundled version such as using
swagger-cli bundle