
Description
aspnet-minimal-api-openapi is an agent skill from the github/awesome-copilot collection for creating ASP.NET Minimal API endpoints with correct types and complete OpenAPI and Swagger documentation. It covers how to organize endpoints: grouping related ones with MapGroup, applying endpoint filters to handle cross-cutting concerns, splitting larger APIs into separate endpoint classes, and using a feature-based folder structure as the API grows. For request and response types, it recommends explicit DTOs with validation attributes such as Required, using record types for immutable data, and property names that follow the API's design standards. Errors should come back in a standard form, and the skill points to ProblemDetailsService and StatusCodePages for that. It also covers typed results so the documented responses match what the endpoint returns. The result is an API whose documentation is generated from the code, so the documentation stays accurate as the endpoints change. The skill applies when building a new minimal API, adding endpoints to an existing one, or documenting an API for other teams. Generated documentation is only as good as the types behind it, so the team should check the published OpenAPI output against the real behavior. The skill is installed with the skills CLI from the github/awesome-copilot repository. Its skills.sh page showed about 9.2K installs and passing results from three security audits at the time of the scan.…
Highlights
- Endpoint grouping with MapGroup
- Endpoint filters and feature folders
- DTOs with validation attributes
- Typed results and standard error responses
- OpenAPI and Swagger documentation
- Installs with the skills CLI
Ratings & Reviews
No ratings yet
Be the first to rate aspnet-minimal-api-openapi.
People also visit

api-documentation-generator
Generate comprehensive, developer-friendly API documentation from code

openapi-to-application-code
Generate complete, production-ready applications directly

contract-first
Coordinate frontend/backend or service-to-service work through one authoritative
aspnet-minimal-api-openapi FAQ
What does this skill help build?
ASP.NET Minimal API endpoints with strong types and complete OpenAPI documentation.
How are endpoints organized?
With MapGroup for related endpoints, endpoint filters for cross-cutting concerns, and feature-based folders as the API grows.
How are errors returned?
The skill points to ProblemDetailsService and StatusCodePages for standard error responses.
Should I check the generated docs?
Yes. The OpenAPI output is only as accurate as the types, so compare it with the real behavior.
How do I install it?
Run npx skills add https://github.com/github/awesome-copilot --skill aspnet-minimal-api-openapi.
What security audits does it have?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best aspnet-minimal-api-openapi alternatives?
Popular alternatives to aspnet-minimal-api-openapi include api-documentation-generator, openapi-to-application-code and api-designer. See all aspnet-minimal-api-openapi alternatives









