What problem does it solve?
This Skill helps developers create robust ASP.NET Minimal API endpoints that are automatically documented with OpenAPI specifications, ensuring clarity and ease of integration.
Core Features & Use Cases
- Structured API Development: Organize endpoints using
MapGroup and separate classes for better maintainability.
- Type Safety: Define explicit DTOs and use
TypedResults for strong typing in requests and responses.
- Comprehensive Documentation: Automatically generate OpenAPI/Swagger documentation with descriptions, operation IDs, and schema details.
- Use Case: Quickly scaffold a new set of related API endpoints for user management, complete with validation, clear request/response models, and discoverable documentation for frontend or other service integrations.
Quick Start
Use the aspnet-minimal-api-openapi skill to create a new ASP.NET Minimal API endpoint for retrieving user details by ID, ensuring it returns a UserDto and is documented with OpenAPI.