World Congress 2024 Aug 22, 2024 Session details

OpenAPI meets OpenAI

Christopher Walles

Stop manually coding routine CRUD operations. Discover how to strategically prompt GPT-4 with OpenAPI specs to instantly generate functional, compile-ready Kotlin and Spring backend components.

Pause
Mute Enter Fullscreen
#1 about 3 min

Generating functioning backend code from OpenAPI specifications

Using generative AI to eliminate repetitive backend engineering tasks.

#2 about 3 min

Understanding the purpose of OpenAPI specifications

Formal API descriptions in YAML enable documentation and automated client or server stub generation.

#3 about 5 min

Deconstructing API backends and the Pet Store schema

Breaking down database-heavy operations using API schemas from the classic open API pet store example.

#4 about 2 min

Breaking large code generation tasks into smaller segments

Slicing the YAML file into individual pieces ensures more reliable generative output from language models.

#5 about 5 min

Modeling backend components with the Spring framework

Mapping generated backend functionality to controllers, repositories, entities, and database schemas using Kotlin and Spring.

#6 about 6 min

Prompt engineering techniques for generating schema classes

Structuring strict rules and supplying limited context chunks prevents models from outputting unnecessary code explanations.

#7 about 3 min

Generating database entities and resolving relationship mapping

Instructing the language model to translate id references into exact foreign key dependencies for relational databases.

#8 about 4 min

Generating dynamic API endpoint controllers and repositories

Supplying previously generated schema context prompts the model to correctly wire database access and explicit HTTP error handling.

#9 about 3 min

Limitations of directly generating implementation strictly to controllers

Placing business logic strictly in controllers bypasses application service layers and exposes fundamental API specification gaps.

Matching moments

2:20 min

Integrating generative AI into software development workflows

Chris Wysopal Chris Wysopal · WWC 2024

4:56 min

Building agentic workflows using prompt engineering and language models

1:16 min

Automating documentation and code generation with OpenAPI standards

James Seconde · WWC 2023

6:41 min

Overcoming challenges with OpenAPI generators for custom SDKs

Maarten Balliauw · LIVE

3:36 min

Overview of generative AI and the presentation agenda

juarezjunior juarezjunior · WWC 2024

1:48 min

Integrating generative AI capabilities via cloud-based API endpoints

juarezjunior juarezjunior · WWC 2024

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Building Stuff with GenAI - The Open Minded Workshop beyond OpenAI

Andreas Erben

CTO for Applied AI and Metaverse at daenet

Andreas Erben
Open session

World Congress 2026 North America

AI-Driven API Design

Mike Amundsen

Author, Adviser, Trainer

Mike Amundsen
Open session

World Congress 2026 North America

The Broken Rung: How AI is Rebuilding Software Development from the Ground Up

Tomislav Tipurić

Chief Technology Officer, Nephos

Tomislav Tipurić
Open session

World Congress 2026 North America

Designing APIs That Survive AI Agents at Scale

Phani Pendurthi

Mastercard, Principal Software Engineer

Phani Pendurthi
Open session

World Congress 2026 North America

No Single Model to Rule Them All: Building Resilient AI Agents Across Open & Closed LLMs

Emmanuel Acheampong

Senior Manager Developer Relations at Crusoe AI

Emmanuel Acheampong
Open session

World Congress 2026 North America

DeepAgents: Build Multi-Agent AI Systems That Actually Work

Anagha Rumade, Anjana Umapathy, Apoorva Jaiswal

Anagha Rumade
Anjana Umapathy
Apoorva Jaiswal