본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)40k · #7067

aspnet-minimal-api-openapi

하는 일

이 도구는 ASP.NET을 사용해 웹사이트나 웹 애플리케이션을 위한 코드 조각을 만드는 데 도움을 줍니다. 주고받는 정보가 체계적으로 정리되고, 문서(매뉴얼 같은)가 명확하고 완전하도록 보장합니다.

사용하는 경우

  • ✓웹사이트에 새 기능을 만들어야 할 때.
  • ✓웹 애플리케이션의 여러 부분을 정리할 때.
  • ✓코드의 문서를 항상 최신으로 유지하고 싶을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/aspnet-minimal-api-openapi/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/aspnet-minimal-api-openapi/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이름과 이메일로 새 사용자를 등록하고 생성된 사용자의 ID를 반환하는 엔드포인트를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

애플리케이션이 받아야 할 정보와 반환해야 할 결과를 설명합니다. 도구가 이를 정리하고, 다른 개발자를 위한 지도처럼 문서를 자동으로 생성합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

ASP.NET Minimal API with OpenAPI

Your goal is to help me create well-structured ASP.NET Minimal API endpoints with correct types and comprehensive OpenAPI/Swagger documentation.

API Organization

  • Group related endpoints using MapGroup() extension
  • Use endpoint filters for cross-cutting concerns
  • Structure larger APIs with separate endpoint classes
  • Consider using a feature-based folder structure for complex APIs

Request and Response Types

  • Define explicit request and response DTOs/models
  • Create clear model classes with proper validation attributes
  • Use record types for immutable request/response objects
  • Use meaningful property names that align with API design standards
  • Apply [Required] and other validation attributes to enforce constraints
  • Use the ProblemDetailsService and StatusCodePages to get standard error responses

Type Handling

  • Use strongly-typed route parameters with explicit type binding
  • Use Results<T1, T2> to represent multiple response types
  • Return TypedResults instead of Results for strongly-typed responses
  • Leverage C# 10+ features like nullable annotations and init-only properties

OpenAPI Documentation

  • Use the built-in OpenAPI document support added in .NET 9
  • Define operation summary and description
  • Add operationIds using the WithName extension method
  • Add descriptions to properties and parameters with [Description()]
  • Set proper content types for requests and responses
  • Use document transformers to add elements like servers, tags, and security schemes
  • Use schema transformers to apply customizations to OpenAPI schemas
자주 묻는 질문

‘엔드포인트’란 무엇인가요?

애플리케이션이 특정 정보를 주고받는 진입점과 같습니다.

‘OpenAPI/Swagger’란 무엇인가요?

API(진입점)를 설명하고 문서화하는 표준 방식이어서, 다른 사람들이 어떻게 사용하는지 이해할 수 있습니다.

‘DTO/모델’이란 무엇인가요?

애플리케이션이 데이터를 주고받을 때 데이터를 어떻게 구성할지 정의하는 구조입니다.

상세 정보

작성자의 원본 설명

Create ASP.NET Minimal API endpoints with proper OpenAPI documentation

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7067
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬