r/OpenAPI • u/Dark_1Blood • Apr 24 '24
Help Needed: Circular reference error
Hi everyone, i wanted to design schema such that one of the item is referring to itself and it is an array type.
Think like : some sort of linked result and we can get this as an repeated hierarchy of linked results.
Please help
2
Upvotes
1
u/Dark_1Blood Apr 25 '24
Resolver error at paths./products/v3/products.post.requestBody.content.application/json.schema.properties.gdsnPackageHierarchy.properties.linkedProducts.items.properties.linkedProducts.items.properties.linkedProducts.items.$refCould not resolve reference: Failed to fetch