AI•Pkg.Core API Reference
Hosted via DotNetDocs.com at
docs.aipkg.org/api/core/. Sourced from XML doc comments. Authoritative reference for library consumers and tool authors.Developer Portal
Hosted at
docs.aipkg.org. Getting-started guides, CLI reference, spec docs, platform integration guides, and embedded API reference.DotNetDocs.com for AI•Pkg.Core
What is DotNetDocs.com
DotNetDocs.com is a hosted documentation service for .NET libraries. It ingests compiled XML documentation files (generated by<GenerateDocumentationFile>true</GenerateDocumentationFile>) and produces a navigable API reference site — analogous to docs.rs for Rust.
Setup
Register on DotNetDocs.com
Register
AI•Pkg.Core, linking to the NuGet package ID AI•Pkg.Core. DotNetDocs automatically pulls the latest published package and regenerates the docs on each new version.XML Doc Comment Requirements
| Member Type | Required Tags |
|---|---|
| Class / struct / record | <summary>, <remarks> (if non-trivial) |
| Public property | <summary>, <value> (if not obvious) |
| Public method | <summary>, <param> for each param, <returns> if not void, <exception> for documented throws |
| Public constructor | <summary>, <param> for each param |
| Enum | <summary> on type, <summary> on each member |
Versioned Docs
DotNetDocs hosts docs per NuGet package version. Thedocs.aipkg.org/api/core/ URL always points to the latest stable version. Previous versions are accessible via /api/core/{version}/.
Developer Portal: docs.aipkg.org
Site Structure
Registry API Reference
The Registry API reference at/api/v3/ is generated from an OpenAPI specification published by the server:
Microsoft.AspNetCore.OpenApi (built into ASP.NET Core 10). The docs portal fetches this spec and renders it using Scalar UI (or Swagger UI).
Server configuration:
.WithName()— operation ID.WithSummary()— one-line description.WithDescription()— detailed description.WithTags()— grouping.Produces<T>()— response type annotations
Per-Platform Integration Guides
Each platform guide covers:- Install path — where files land after
aipkg install - File formats — what file types the platform accepts
- Directory layout — expected structure within the install path
- Example package — a minimal working
.aispecand package layout - Known limitations — what the platform doesn’t support yet
OpenAPI Spec Requirements
Every Registry API endpoint (see Registry API spec) must be represented with:- Correct HTTP method and path
- All path parameters documented with types and examples
- All query parameters documented with types, defaults, and examples
- All request body schemas
- All response schemas with examples
- Error response schemas:
400,401,403,404,409,413,429,500 - Authentication scheme:
ApiKeyheader (X-NuGet-ApiKeyretained for CLI compatibility)
Documentation CI/CD
- On AI•Pkg.Core Publish
- On Server Deploy
- On Spec Change
Contribution Workflow
The docs portal source lives in a separate repository (aipkg-docs). Contributions via PR. The API reference (DotNetDocs, OpenAPI) is auto-generated and must not be manually edited.
Broken link checks and spell checks run on every PR via CI.