-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
Given the attached OAS the following command fails with or without --validate false
$ apigeecli -t $TOKEN apis create openapi -n leo-clm-basic -f circular-reference.json -o apigeex-payg-kurt --validate false
ERROR: 2023/05/08 09:20:28 generateapi.go:119: kin-openapi bug found: circular schema reference not handled - #/components/schemas/TypeInfo -> #/components/schemas/Type -> #/components/schemas/Type -> #/components/schemas/Type -> #/components/schemas/Type
Error: kin-openapi bug found: circular schema reference not handled - #/components/schemas/TypeInfo -> #/components/schemas/Type -> #/components/schemas/Type -> #/components/schemas/Type -> #/components/schemas/Type
Other tools (e.g. openapi2apigee) and the UI to create the proxy and to add an Open API Spec Validation policy, process the OAS without errors.
Rename to circular-reference.json
circular-reference-json.txt
Metadata
Metadata
Assignees
Labels
No labels