d1-03-swagger
Adds Swagger/OpenAPI UI to the up-api .NET project and redeploys it. Use when the user asks for Day 1 step 4 of the CRUD drill, or asks to add API docs / Swagger to up-api.
How do I install this agent skill?
npx skills add https://github.com/softinter-chiangrai/up-ai-skill-training --skill d1-03-swaggerIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides standard development instructions for adding Swagger documentation to a .NET API project. It uses industry-standard libraries and common deployment commands.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Day 1 · Step 3 — Swagger
Check up-api/Program.cs first — recent dotnet new webapi templates already scaffold OpenAPI
(AddOpenApi() / MapOpenApi()). If Swagger UI specifically is wanted (not just the raw OpenAPI JSON),
add Swashbuckle:
cd up-api
dotnet add package Swashbuckle.AspNetCore
In Program.cs:
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
// ...
app.UseSwagger();
app.UseSwaggerUI();
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/softinter-chiangrai/up-ai-skill-training/d1-03-swagger">View d1-03-swagger on skillZs</a>