The API document names settings, routes and behaviour instead of entity, controller, options and interface types #318

Merged
claude merged 6 commits from feature/302-api-doc-no-internal-types into develop 2026-11-05 15:44:13 -05:00
Owner

The API document now names settings, routes and behaviour instead of internal entity, controller, options, interface, service and .NET types, following #40.

  • Doc text in Ninlil.Web controllers, models and examples: internal types reworded to behaviour or to the route (GET /api/acme-settings/certificates); options classes replaced by the configuration path the operator sets (DnsServer:Authoritative:PtrSync:DefaultEnabled, Identity:Sso:Enable; every path checked against the SectionName constants and ENVIRONMENT.md); enum members by their wire values; C# property names by the JSON property names; configuration keys and webhook credential keys (Username, Password) keep their real casing.
  • The 41 settings PATCH summaries say the merge patch is written to the configuration file (verified: every one goes through the settings file applier).
  • The runtime notes a settings PATCH returns no longer name IOptionsMonitor: "This setting is read live, so it takes effect immediately -- no restart required." / "This setting is read once, at startup, so a restart is required before this change takes effect." The README quotes and the console spec mock data match.
  • OpenAPI snapshot and Angular API client regenerated: strings only (structural compare: no key, type, path, schema, property, enum or tag change); client changes are comments.

The issue's grep now finds only the API's own tag names DhcpScopeCustomOptions and DhcpTagRuleOptions and the word "IPsec".

Verified three times: about 70 reworded statements checked against code, all 71 configuration paths and every route resolve, enum and property renames checked against the schema (two case slips found and fixed). Build 0 warnings; Web.Tests 2085 (without Docker) incl. OpenApiSnapshotTests; Angular build, lint, format check and 1648 tests pass; Markdown links 0 problems.

Closes #302

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

The API document now names settings, routes and behaviour instead of internal entity, controller, options, interface, service and .NET types, following #40. - Doc text in Ninlil.Web controllers, models and examples: internal types reworded to behaviour or to the route (`GET /api/acme-settings/certificates`); options classes replaced by the configuration path the operator sets (`DnsServer:Authoritative:PtrSync:DefaultEnabled`, `Identity:Sso:Enable`; every path checked against the `SectionName` constants and `ENVIRONMENT.md`); enum members by their wire values; C# property names by the JSON property names; configuration keys and webhook credential keys (`Username`, `Password`) keep their real casing. - The 41 settings PATCH summaries say the merge patch is written to the configuration file (verified: every one goes through the settings file applier). - The runtime notes a settings PATCH returns no longer name `IOptionsMonitor`: "This setting is read live, so it takes effect immediately -- no restart required." / "This setting is read once, at startup, so a restart is required before this change takes effect." The README quotes and the console spec mock data match. - OpenAPI snapshot and Angular API client regenerated: strings only (structural compare: no key, type, path, schema, property, enum or tag change); client changes are comments. The issue's grep now finds only the API's own tag names `DhcpScopeCustomOptions` and `DhcpTagRuleOptions` and the word "IPsec". Verified three times: about 70 reworded statements checked against code, all 71 configuration paths and every route resolve, enum and property renames checked against the schema (two case slips found and fixed). Build 0 warnings; Web.Tests 2085 (without Docker) incl. OpenApiSnapshotTests; Angular build, lint, format check and 1648 tests pass; Markdown links 0 problems. Closes #302 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #302

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Closes #302

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #302

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #302

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
Refs #302

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The OpenAPI snapshot and Angular API client name configuration keys and webhook credential keys with their real casing
Some checks failed
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Build and Test Deb and RPM Packages (pull_request) Has been skipped
Build / Build Arch Linux Packages (pull_request) Has been skipped
Build / Build and Push Image (pull_request) Has been skipped
Build / Pipeline (pull_request) Failing after 0s
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Publish Release (pull_request) Has been skipped
Build / Test .NET (push) Failing after 33m59s
Build / Stage Draft Release (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (push) Has been skipped
Build / Pack and Push NuGet Packages (dhcp) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Pack and Push NuGet Packages (common) (push) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Build Arch Linux Packages (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build and Push Image (push) Has been skipped
Build / Publish Release (push) Has been skipped
Build / Pipeline (push) Failing after 0s
2bf1e9b089
Refs #302

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit bdde7aab25 into develop 2026-11-05 15:44:13 -05:00
Sign in to join this conversation.
No reviewers
No milestone
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.

Dependencies

No dependencies set

Reference
lantea-one/ninlil!318
No description provided.