Skip to content

docs(llms): correct and complete the AI reference against real behavior#43

Merged
harry-2401 merged 1 commit into
mainfrom
docs/llms-audit-fixes
Jul 7, 2026
Merged

docs(llms): correct and complete the AI reference against real behavior#43
harry-2401 merged 1 commit into
mainfrom
docs/llms-audit-fixes

Conversation

@harry-2401

Copy link
Copy Markdown
Contributor

No description provided.

Audited docs/llms.md against the actual code + generated output and fixed the
findings: document output.fileCase and the snake_case default (file/dir naming,
generated layout, middleware/service paths); remove the no-longer-generated
transport/<svc>/errors.go; fix the handler snippet order (defaults -> decode ->
bind -> validate) and its WriteValidationError call; correct the plain-error
envelope (static "internal server error", not err.Error()), the typed-error
code key, and Content-Type; fix exit codes (2 = usage, 1 = semantic), the
Middlewares-struct wiring, @doc/@deprecated/@example sites, @Length arity,
@timeout/@maxBodySize override semantics, the map-key and any-type rows,
multi-arg generic naming, negative enum values, UnsupportedMediaType (415),
ErrCode()/ErrCode<Name>, oauth2 flows, and make the pattern snippets
self-contained (local OkResp, package users, int? default).
@harry-2401
harry-2401 merged commit 3bae449 into main Jul 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant