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
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
03:36 MIN
The rapid evolution and adoption of LLMs
Building Blocks of RAG: From Understanding to Implementation
23:35 MIN
Defining key GenAI concepts like GPT and LLMs
Enter the Brave New World of GenAI with Vector Search
00:05 MIN
Moving beyond hype with real-world generative AI
Semantic AI: Why Embeddings Might Matter More Than LLMs
03:48 MIN
The inefficiency of natural language for code generation
How to become an AI toolsmith
14:10 MIN
Leveraging open software and AI for code development
The Future of Computing: AI Technologies in the Exascale Era
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
Building AI-Driven Spring Applications With Spring AI
Timo Salm & Sandra Ahlgrimm
AI: Superhero or Supervillain? How and Why with Scott Hanselman
Scott Hanselman
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.


Machine Learning Engineer - Large Language Models (LLM) - Startup
Startup
Charing Cross, United Kingdom
PyTorch
Machine Learning

Front End Engineering Manager ( Generative AI experience )
Accenture
Charing Cross, United Kingdom
REST
React
GraphQL
React Native
Continuous Integration


Agentic AI Architect - Python, LLMs & NLP
FRG Technology Consulting
Intermediate
Azure
Python
Machine Learning

Generative AI Developer
University of the Arts, London
Sleaford, United Kingdom
£34-41K
Python
PyTorch
TensorFlow


