VIP 👤
🏠 Home
Benchmark
📊 Tutti i benchmark 🦖 Dinosauro v1 🦖 Dinosauro v2 ✅ App To-Do List 🎨 Pagine libere creative 🎯 FSACB - Ultimate Showcase 🌍 Benchmark traduzione
Modelli
🏆 Top 10 modelli 🆓 Modelli gratuiti 📋 Tutti i modelli ⚙️ Kilo Code
Risorse
💬 Libreria di prompt 📖 Glossario IA 🔗 Link utili 🔌 API e router IA
Advanced

OpenAPI Specification Generation

#api #documentation #openapi #json-schema

Generate a full OpenAPI specification from a class-based description.

Based on the provided Ruby class describing a 'UserSubscription' model with attributes for plan tiers, renewal dates, and payment methods, generate a complete OpenAPI 3.0.0 YAML specification. Ensure all data types are correctly mapped, provide example values for the schema, and define standard error responses for 400, 401, and 500 status codes.