---
title: "Discussion on \"Codegen and Circular References: Where Generated Types Recurse or Break\" | Hashnode"
description: "Discussion on \"Codegen and Circular References: Where Generated Types Recurse or Break\". How generators handle circular OpenAPI references, where they fall back to any, and how to validate recursive output."
url: "https://hashnode.com/posts/codegen-circular-references-recursive-types/6ae96aa25fa6734954805fe9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Codegen and Circular References: Where Generated Types Recurse or Break](https://blogs.powerduck.com/codegen-circular-references-recursive-types?utm_source=hashnode&utm_medium=feed)

How generators handle circular OpenAPI references, where they fall back to any, and how to validate recursive output.

Nov 3 · 5 min read · blogs.powerduck.com  
Read the article

-   [#openapi](https://hashnode.com/tag/openapi)
-   [#codegen](https://hashnode.com/tag/codegen)
-   [#developers](https://hashnode.com/tag/developers)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
