forked from lukeautry/tsoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hapi-tsoa.yaml
42 lines (42 loc) · 971 Bytes
/
hapi-tsoa.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
swagger:
outputDirectory: "./dist"
entryFile: "./tests/fixtures/hapi/server.ts"
host: localhost:3000
version: '1.0'
name: tsoa app
description: |
line 1
line 2
license: MIT
basePath: "/v1"
securityDefinitions:
api_key:
type: apiKey
name: access_token
in: query
tsoa_auth:
type: oauth2
authorizationUrl: http://swagger.io/api/oauth/dialog
flow: implicit
scopes:
write:pets: modify things
read:pets: read things
spec:
api_key:
type: apiKey
name: api_key
in: header
tsoa_auth:
type: oauth2
authorizationUrl: http://swagger.io/api/oauth/dialog
flow: implicit
scopes:
write:pets: modify things
read:pets: read things
routes:
basePath: "/v1"
entryFile: "./tests/fixtures/hapi/server.ts"
routesDir: "./tests/fixtures/hapi"
middleware: hapi
authenticationModule: "./tests/fixtures/hapi/authentication.ts"