bug2294

package
v0.36.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package bug2294 is the witness for go-swagger#2294: a global Security requirement that combines TWO schemes with AND logic — both must be satisfied. In OpenAPI 2.0 that is a single requirement object with two keys: `security: [{x_client_id: [], access_token: []}]`. Written as a YAML sequence item with two mapping keys, it must NOT split into two separate (OR) requirements.

Security:

  • x_client_id: [] access_token: []

SecurityDefinitions:

x_client_id:
  type: apiKey
  name: x_client_id
  in: header
access_token:
  type: apiKey
  name: Authorization
  in: header

swagger:meta

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL