Skip to content

Commit 9b6ef1a

Browse files
authored
fix(spec): resolve issues #1684, #1686, and #1672 in api.yaml (#1688)
- fix(#1684): Add missing fields to UserFactorActivateResponse schema - fix(#1686): Change GroupSchemaAttribute and UserSchemaAttribute enum items from anyOf: [string, integer] to type: string - fix(#1672): Correct typo 'nullabe' to 'nullable' in OAuth2ClientJsonWebKeyECRequest
1 parent 509db8a commit 9b6ef1a

1 file changed

Lines changed: 39 additions & 7 deletions

File tree

src/swagger/api.yaml

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66239,9 +66239,7 @@ components:
6623966239
description: Description of the property
6624066240
enum:
6624166241
items:
66242-
anyOf:
66243-
- type: string
66244-
- type: integer
66242+
type: string
6624566243
type: array
6624666244
nullable: true
6624766245
description: |-
@@ -70288,7 +70286,7 @@ components:
7028870286
y:
7028970287
type: string
7029070288
description: The public y coordinate for the elliptic curve point
70291-
nullabe: false
70289+
nullable: false
7029270290
crv:
7029370291
type: string
7029470292
description: The cryptographic curve used with the key
@@ -81002,6 +81000,12 @@ components:
8100281000
UserFactorActivateResponse:
8100381001
type: object
8100481002
properties:
81003+
created:
81004+
description: Timestamp when the factor was enrolled
81005+
type: string
81006+
format: date-time
81007+
example: '2022-08-25T00:31:00.000Z'
81008+
readOnly: true
8100581009
factorType:
8100681010
description: Type of the factor
8100781011
type: string
@@ -81013,6 +81017,36 @@ components:
8101381017
- token:software:totp
8101481018
- u2f
8101581019
- webauthn
81020+
id:
81021+
description: ID of the factor
81022+
type: string
81023+
example: caf8m6jbcvUH8mAep1d7
81024+
readOnly: true
81025+
lastUpdated:
81026+
description: Timestamp when the factor was last updated
81027+
type: string
81028+
format: date-time
81029+
example: '2022-08-25T00:31:00.000Z'
81030+
readOnly: true
81031+
profile:
81032+
type: object
81033+
description: Specific attributes related to the factor
81034+
provider:
81035+
description: Provider for the factor. Each provider can support a subset of factor types.
81036+
type: string
81037+
status:
81038+
$ref: '#/components/schemas/UserFactorStatus'
81039+
vendorName:
81040+
description: Name of the factor vendor. This is usually the same as the provider except for On-Prem MFA, which depends on admin settings.
81041+
type: string
81042+
example: OKTA
81043+
readOnly: true
81044+
_embedded:
81045+
type: object
81046+
additionalProperties:
81047+
type: object
81048+
properties: {}
81049+
readOnly: true
8101681050
_links:
8101781051
allOf:
8101881052
- $ref: '#/components/schemas/LinksSelf'
@@ -82338,9 +82372,7 @@ components:
8233882372

8233982373
The value of the property is limited to one of the values specified in the enum definition. The list of values for the enum must consist of unique elements.
8234082374
items:
82341-
anyOf:
82342-
- type: string
82343-
- type: integer
82375+
type: string
8234482376
externalName:
8234582377
type: string
8234682378
description: |-

0 commit comments

Comments
 (0)