---
title: "Discussion on \"AST vs AI for reverse-engineering OpenAPI: where static analysis stops and the model earns its place\" | Hashnode"
description: "Discussion on \"AST vs AI for reverse-engineering OpenAPI: where static analysis stops and the model earns its place\". Asking an LLM to read your whole codebase and emit OpenAPI produces fluent, non-reproducible fiction. Pure AST scanning is reproducible but goes blind on dynamic serializers. The reliable design is static analysis first, with AI filling only proven gaps a human can review."
url: "https://hashnode.com/posts/ast-vs-ai-reverse-engineer-openapi-honest-gaps/6aca07f746cca2a7ecaa88bb"
---

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

Discussion

# [AST vs AI for reverse-engineering OpenAPI: where static analysis stops and the model earns its place](https://blogs.powerduck.com/ast-vs-ai-reverse-engineer-openapi-honest-gaps?utm_source=hashnode&utm_medium=feed)

Asking an LLM to read your whole codebase and emit OpenAPI produces fluent, non-reproducible fiction. Pure AST scanning is reproducible but goes blind on dynamic serializers. The reliable design is static analysis first, with AI filling only proven gaps a human can review.

Oct 6 · 7 min read · blogs.powerduck.com  
Read the article

-   [#openapi](https://hashnode.com/tag/openapi)
-   [#ai](https://hashnode.com/tag/ai)
-   [#tooling](https://hashnode.com/tag/tooling)
-   [#architecture](https://hashnode.com/tag/architecture)

## Written by

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

@powerduck · hon

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
