Browse Source

change to openid connect

master
Nicolas Massé 8 years ago
parent
commit
e584c757ba
  1. 17
      openapi-spec.yaml

17
openapi-spec.yaml

@ -3,7 +3,7 @@ swagger: 2.0
info:
title: Summit API
description: An API that gives information about the Red Hat Summit.
version: 1.0.0
version: 2.0.0
paths:
/location:
get:
@ -13,11 +13,12 @@ paths:
responses:
200:
description: OK
securityDefinitions:
apikey:
type: apiKey
description: Use a 3scale API Key
name: api-key
in: header
security:
- apikey: []
- oidc:
- openid
securityDefinitions:
oidc:
type: oauth2
flow: accessCode
scopes:
openid: Get an OpenID Connect token

Loading…
Cancel
Save