Skip to content

Commit

Permalink
add Security Requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
smoya committed Aug 29, 2022
1 parent 7b9b575 commit 5897a1e
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
- extensions() : `Extensions`
- hasRefreshUrl() : `boolean`
- refreshUrl() : `string` | `undefined`
- scopes() : `Object.<string, string>` | `undefined`
- scopes() : `Map[string, string]` | `undefined`
- tokenUrl() : `string` | `undefined`

## OAuthFlows
Expand Down Expand Up @@ -251,7 +251,7 @@
- servers() : `Server[]`
- summary() : `string` | `undefined`
- tags() : `Tags`
- security() : `Array<Record<string, { schema: SecurityScheme, scopes: Array<string> }>>`
- security() : `SecurityRequirements`
- isSend(): `boolean`
- isReceive(): `boolean`
- action() : `enum{'Send', 'Receive', 'Publish', 'Subscribe'}`
Expand All @@ -275,7 +275,7 @@
- servers() : `Server[]`
- summary() : `string` | `undefined`
- tags() : `Tags`
- security() : `Array<Record<string, { schema: SecurityScheme, scopes: Array<string> }>>`
- security() : `SecurityRequirements`
- isSend(): `boolean`
- isReceive(): `boolean`
- action() : `enum{'Send', 'Receive', 'Publish', 'Subscribe'}`
Expand Down Expand Up @@ -339,6 +339,16 @@
- has(id: `string`) : `boolean`
- isEmpty() : `boolean`

## SecurityRequirement
- scheme: `SecurityScheme`
- scopes: `string[]`

## SecurityRequirements
- all() : `SecurityRequirement[]`
- get(name: `string`) : `SecurityRequirement` | `undefined`
- has(name: `string`) : `boolean`
- isEmpty() : `boolean`

## SecurityScheme
- id() : `string`
- bearerFormat() : `string` | `undefined`
Expand Down Expand Up @@ -380,7 +390,7 @@
- operations() : `Operations`
- protocol() : `string` | `undefined`
- protocolVersion() : `string` | `undefined`
- security() : `Array<Record<string, { schema: SecurityScheme, scopes: Array<string> }>>`
- security() : `SecurityRequirements`
- url() : `string` | `undefined`
- variables() : `ServerVariables`

Expand Down

0 comments on commit 5897a1e

Please sign in to comment.