openapi: 3.0.0
info:
  title: Security
  version: '1.0'
paths:
  /endpoint:
    get:
      operationId: 246a59a9e3caa2de5fc49987b2cf7584
      responses:
        '200':
          description: 'All good'
components:
  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: header
    store_auth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: 'http://store.local/oauth/dialog'
          scopes: {  }
        password:
          authorizationUrl: 'http://store.local/login'
          scopes:
            'read:products': 'Access products'
