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.
Matching moments
00:04 MIN
Three pillars for integrating LLMs in products
Using LLMs in your Product
30:06 MIN
Bridging the gap between language models and software
When worlds collide: How will generative AI change the way we design and build software
15:49 MIN
Generating an OpenAPI specification from a prompt
Building APIs in the AI Era
07:45 MIN
Using large language models for voice-driven development
Speak, Code, Deploy: Transforming Developer Experience with Voice Commands
25:23 MIN
Overcoming AI model limitations with expert knowledge
Are frameworks like React redundant in an AI world?
16:26 MIN
Generating code from specifications with modern tooling
Specifications as the better way of software development
20:21 MIN
A practical workflow for AI application developers
How AI Models Get Smarter
33:08 MIN
Integrating generative AI for dynamic responses
Creating bots with Dialogflow CX
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
Livecoding with AI
Rainer Stropek
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
Related Articles
View all articles



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



Front End Engineering Manager ( Generative AI experience )
Accenture
GraphQL
React Native
Continuous Integration


{"@context":"https://schema.org/","@type":"JobPosting","title":"Full Stack AI Developer
Openkit
€35-45K
PostgreSQL
TypeScript


AI/ML Team Lead - Generative AI (LLMs, AWS)
Provectus
Remote
€96K
Senior
PyTorch
Tensorflow
Computer Vision
+2

