You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 323d24f
Browse filesBrowse the repository at this point in the historyBrowse files
doc(mixin): clarify precedence rules and document limitations (#196)
Rewrite the Mixin godoc into three labeled sections:
* Argument order and precedence, with a worked host example showing
that the primary always wins on collision and that mixins are listed
in decreasing priority order.
* What gets merged, enumerating exactly which fields are filled from
empty primaries, which are merged entry-by-entry with collision
warnings, and which are unioned silently (schemes, consumes,
produces).
* Notes and limitations, with cross-references to the new goswagger.io
FAQ entries on YAML anchor preservation and on output ordering.
This is a documentation-only change addressing user-confusion issues
in go-swagger/go-swagger:
* go-swagger/go-swagger#1823 (precedence)
* go-swagger/go-swagger#1928 (YAML anchors not preserved)
* go-swagger/go-swagger#2130 (output is alphabetically ordered; this
is an architectural constraint inherited from the underlying spec
model, not fixable here)
Companion FAQ entries land in go-swagger/go-swagger
docs/faq/faq_swagger.md and the canonical reference moves into
docs/usage/mixin.md.
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments