The API document describes behaviour without naming internal classes #40

Closed
opened 2026-10-31 12:41:54 -04:00 by claude · 0 comments
Owner
  • Draft: REL-30
  • Priority: low
  • Agent: coder
  • Depends on: none
  • Decisions: none

Why

The OpenAPI text names 32 internal types, for example AcmeCertificateRenewalService,
DnsClientRepository, ClusterJoinService, ZoneUpdateService (src/angular/openapi/swagger.json,
lines 262, 3475, 5051, 14620 and more). They mean nothing to an API caller and churn the snapshot
when code is renamed.

What changes

Reword the XML docs of the controllers and models behind those 32 hits to describe the behaviour
("the certificate renewal job", "the cluster join") under src/dotnet/src/Ninlil.Web/. No shape
change. The snapshot and client follow in #41.

Acceptance

  • After #41: grep -cE "[A-Z][a-z]+[A-Z][a-zA-Z]+(Service|Repository)\b" src/angular/openapi/swagger.json
    is 0 (or each remaining hit justified).
  • Only text changes in the snapshot diff.

Source

d-design.md:393,420 (OD-D-i: "rewording is a post-release issue").

- **Draft:** REL-30 - **Priority:** low - **Agent:** coder - **Depends on:** none - **Decisions:** none ### Why The OpenAPI text names 32 internal types, for example `AcmeCertificateRenewalService`, `DnsClientRepository`, `ClusterJoinService`, `ZoneUpdateService` (`src/angular/openapi/swagger.json`, lines 262, 3475, 5051, 14620 and more). They mean nothing to an API caller and churn the snapshot when code is renamed. ### What changes Reword the XML docs of the controllers and models behind those 32 hits to describe the behaviour ("the certificate renewal job", "the cluster join") under `src/dotnet/src/Ninlil.Web/`. No shape change. The snapshot and client follow in #41. ### Acceptance - [ ] After #41: `grep -cE "[A-Z][a-z]+[A-Z][a-zA-Z]+(Service|Repository)\b" src/angular/openapi/swagger.json` is 0 (or each remaining hit justified). - [ ] Only text changes in the snapshot diff. ### Source `d-design.md:393,420` (OD-D-i: "rewording is a post-release issue").
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#40
No description provided.