Christopher Walles
OpenAPI meets OpenAI
#1about 5 minutes
Using OpenAPI specifications for automated code generation
The OpenAPI specification provides a language-agnostic way to describe REST APIs, which serves as documentation and enables automated generation of client libraries and server stubs.
#2about 5 minutes
Generating functional backend code with LLMs
Large language models can extend OpenAPI's code generation capabilities beyond simple stubs to create functional backend code, particularly for database-centric operations.
#3about 6 minutes
Structuring a Spring backend for code generation
The code generation process targets a specific Spring framework architecture, breaking the problem down into generating controllers, repositories, entities, and schema classes.
#4about 7 minutes
Crafting prompts to generate schemas and entities
A structured four-part prompt including task, rules, input, and context is used to reliably generate schema classes and database entities from the OpenAPI specification.
#5about 4 minutes
Generating controllers and repositories from the spec
By providing the LLM with the operation specification and previously generated classes as context, it can generate complete controller endpoints and database repositories.
#6about 3 minutes
Reviewing the limitations of this AI-driven approach
While the generated code is reliable for database-centric tasks, limitations include placing logic in controllers, lacking authorization, and the inherent incompleteness of the OpenAPI spec.
Related jobs
Jobs that call for the skills explored in this talk.
Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
+3
Matching moments
09:10 MIN
How AI is changing the freelance developer experience
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
05:03 MIN
Building and iterating on an LLM-powered product
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
04:59 MIN
Unlocking LLM potential with creative prompting techniques
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
06:28 MIN
Using AI agents to modernize legacy COBOL systems
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
03:45 MIN
Preventing exposed API keys in AI-assisted development
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
07:39 MIN
Prompt injection as an unsolved AI security problem
AI in the Open and in Browsers - Tarek Ziadé
04:28 MIN
Building an open source community around AI models
AI in the Open and in Browsers - Tarek Ziadé
Featured Partners
Related Videos
Using LLMs in your Product
Daniel Töws
Building APIs in the AI Era
Hugo Guerrero
Bringing the power of AI to your application.
Krzysztof Cieślak
AI: Superhero or Supervillain? How and Why with Scott Hanselman
Scott Hanselman
Building AI-Driven Spring Applications With Spring AI
Timo Salm & Sandra Ahlgrimm
Java Meets AI: Empowering Spring Developers to Build Intelligent Apps
Timo Salm
AI-Powered Code Documentation: Simplify the Complex
Patrick Schnell
Three years of putting LLMs into Software - Lessons learned
Simon A.T. Jiménez
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
Angular
TypeScript

OpenAI
München, Germany
Senior
API
Python
JavaScript
Machine Learning

Barone, Budge & Dominick (Pty) Ltd
Amsterdam, Netherlands
Senior
Python
Machine Learning

Menlo Ventures
Barcelona, Spain
Remote
Senior
Python

TMC
Utrecht, Netherlands
Senior
API
Azure
Python
Docker
FastAPI
+1



Gea Group AG
Oelde, Germany
API
GIT
Java
Azure
MySQL
+11