mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-09 20:37:46 +00:00
* fixes basic auth example doc; adds apikey example * remove required_scopes references that dont pertain to apikey
26 lines
497 B
YAML
26 lines
497 B
YAML
openapi: 3.0.0
|
|
info:
|
|
title: API Key Example
|
|
version: '1.0'
|
|
paths:
|
|
/secret:
|
|
get:
|
|
summary: Return secret string
|
|
operationId: app.get_secret
|
|
responses:
|
|
'200':
|
|
description: secret response
|
|
content:
|
|
'*/*':
|
|
schema:
|
|
type: string
|
|
security:
|
|
- api_key: []
|
|
components:
|
|
securitySchemes:
|
|
api_key:
|
|
type: apiKey
|
|
name: X-Auth
|
|
in: header
|
|
x-apikeyInfoFunc: app.apikey_auth
|