The API document names settings, routes and behaviour instead of entity, controller, options and interface types #302
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
lantea-one/ninlil#302
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
#40 removed every
*Serviceand*Repositoryclass name from the OpenAPI text, the pattern its acceptance grep checks. The verifier of #40 found more internal type names that the grep cannot see. They mean nothing to an API caller and churn the snapshot when code is renamed, which is the same problem.src/angular/openapi/swagger.json*EntityDnsClientGroupEntity,DnsFilterListEntity,DhcpScopeEntity,DnsClientEntity,DhcpTagRuleEntity,TsigKeyEntity*ControllerFilterPatternPreviewController,ClientGroupsController,FilterListEntriesController,SmtpSettingsController,SelfUpdateController,AcmeSettingsController,TwoFactorControllerIClusterConfigSyncApplier,IManagedServiceRegistry,IAcmeAccountStore,IDataProtector,SignedZoneCache,AuthoritativeZoneCache,DnsAccessControlRuleCache,ClusterSyncConflictResolver,ReloadableTlsCertificateProvider,DnsOverTlsListener*OptionsPtrSyncOptions,CaaAutoManagementOptions,OidcSsoOptions,AdminLoginRateLimitOptions,TlsCertificateOptions,ZoneTransferOptionsWhat changes
*Entity,*Controller, interface and cache hits to describe behaviour or name the route (GET /api/...), as #40 did. Doc text only, no API shape change.*Optionsnames: replace each with the setting the operator sees (its config path, such asDnsServer:PtrSync, or itsNINLIL_*variable), so the text stays useful without a C# name.Acceptance
grep -oE "\b(I[A-Z][a-z]+[A-Za-z]*|[A-Z][a-z]+[A-Z][A-Za-z]*(Entity|Controller|Options|Cache|Handler|Provider|Resolver|Listener|Store|Applier|Aggregator|Registry|Registration))\b" src/angular/openapi/swagger.jsonlists no internal type names. Schema names of the API itself (request and response models) stay, and each other remaining hit is justified in the PR.Source
Verifier report on the #40/#41 branch (PR for
feature/40-api-doc-no-class-names).Ghost referenced this issue2026-11-05 11:01:53 -05:00
Ghost referenced this issue2026-11-05 15:43:33 -05:00