VIP 👤
🏠 Главная
Бенчмарки
📊 Все бенчмарки 🦖 Динозавр v1 🦖 Динозавр v2 ✅ Приложения To-Do List 🎨 Творческие свободные страницы 🎯 FSACB - Ультимативный показ 🌍 Бенчмарк перевода
Модели
🏆 Топ-10 моделей 🆓 Бесплатные модели 📋 Все модели ⚙️ Режимы Kilo Code
Ресурсы
💬 Библиотека промптов 📖 Глоссарий ИИ 🔗 Полезные ссылки 🔌 API и маршрутизаторы
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.