Documentation
¶
Overview ¶
Package shared_parameters_yaml (Fixture 4) witnesses that the swagger:operation wholesale-YAML path runs the same shared-namespace checks: a $ref into #/parameters or #/responses is validated, and a dangling ref raises a diagnostic.
See .claude/plans/features/shared-parameters-fixtures.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommonHeaders ¶
type CommonHeaders struct {
// in: header
RequestID string `json:"X-Request-ID"`
}
CommonHeaders registers #/parameters/X-Request-ID.
swagger:parameters *
type ErrorResponse ¶
type ErrorResponse struct {
// in: body
Body struct {
// Message is a human-readable error message.
Message string `json:"message"`
} `json:"body"`
}
ErrorResponse registers #/responses/ErrorResponse.
swagger:response *
Click to show internal directories.
Click to hide internal directories.