0
에 대한 자신감
내가 http://editor.swagger.io/에서 유효성을 검사 할 때이하지 유효한 securityDefinitions 정의 - Auth0
swagger: '2.0'
info:
title: Store API
version: "0.3.5"
host: SELF_URL_REPLACED_BY_APP
schemes:
- https
basePath:/
produces:
- application/json
tags:
- name: account
- name: transcripts
security:
- auth0:
- openid
- apiKey: []
securityDefinitions:
auth0:
type: oauth2
authorizationUrl: https://store.auth0.com/authorize
flow: implicit
tokenName: id_token
scopes:
openid: Grant access to user
apiKey:
type: apiKey
name: Authorization
in: header
나는이 오류가 다음 spec.yaml 파일이 :
✖ Swagger Error
Not a valid securityDefinitions definition
Jump to line 19
Details
Object
code: "ONE_OF_MISSING"
params: Array [0]
message: "Not a valid securityDefinitions definition"
path: Array [2]
schemaId: "http://swagger.io/v2/schema.json#"
inner: Array [6]
level: 900
type: "Swagger Error"
description: "Not a valid securityDefinitions definition"
lineNumber: 19
을 나는 무엇이다 있어야 할 곳에 없는? Auth0을 사용하여 로그인 할 수 있으며 모든 것이 잘 작동하는 것 같습니다.
모든 조언을 주시면 감사하겠습니다.