---
title: "Discussion on \"Generate OpenAPI 3.2 from existing code: Express, FastAPI, Go, and Spring compared\" | Hashnode"
description: "Discussion on \"Generate OpenAPI 3.2 from existing code: Express, FastAPI, Go, and Spring compared\". Three ways to recover a spec from a running codebase: annotations, traffic recording, and AST scanning. We compare what each extracts across eight languages and 28 frameworks, and why honest gaps beat confident guesses on request bodies."
url: "https://hashnode.com/posts/generate-openapi-from-existing-code/6aca081f8a94c93abe7f4ccd"
---

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

Discussion

# [Generate OpenAPI 3.2 from existing code: Express, FastAPI, Go, and Spring compared](https://blogs.powerduck.com/generate-openapi-from-existing-code?utm_source=hashnode&utm_medium=feed)

Three ways to recover a spec from a running codebase: annotations, traffic recording, and AST scanning. We compare what each extracts across eight languages and 28 frameworks, and why honest gaps beat confident guesses on request bodies.

Sep 16 · 6 min read · blogs.powerduck.com  
Read the article

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

## Written by

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

@powerduck · hon

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
