version-http-apis
Installation
SKILL.md
Version ABP HTTP APIs
ABP integrates the ASP.NET API Versioning library and adapts it to Auto (Conventional) API Controllers and the static C# / JavaScript client proxies. You enable it once, then either attach versions per controller (attribute routing) or per assembly (conventional controllers).
When to Use
- Serving
1.0and2.0(etc.) of the same service side by side. - Attaching versions to conventional controllers via
ConventionalControllers.Create(...). - Switching the requested version from C# at runtime with
ICurrentApiVersionInfo. - Building one Swagger document per discovered version.
When Not to Use
- Just exposing a service as a controller (no versions yet) — use expose-http-apis.
- Swagger UI / OpenAPI wiring beyond the versioned explorer — use configure-swagger-openapi.
- Generating or calling client proxies — use consume-remote-services.