Browse Source

v2

openapi3
Nicolas Massé 6 years ago
parent
commit
4ef4d604f2
  1. 17
      openapi-spec.yaml

17
openapi-spec.yaml

@ -2,7 +2,7 @@
openapi: 3.0.2 openapi: 3.0.2
info: info:
title: Petstore title: Petstore
version: 1.1.0 version: 2.0.0
description: |- description: |-
A sample API that uses a petstore as an example to demonstrate features A sample API that uses a petstore as an example to demonstrate features
in the OpenAPI 3.0 specification in the OpenAPI 3.0 specification
@ -212,9 +212,14 @@ components:
message: message:
type: string type: string
securitySchemes: securitySchemes:
api-key: oidc:
type: apiKey flows:
name: api-key clientCredentials:
in: header tokenUrl: https://filled.later/
refreshUrl: https://filled.later/
scopes:
openid: openid
type: oauth2
security: security:
- api-key: [] - oidc:
- openid

Loading…
Cancel
Save