projects
/
osm
/
SOL005.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10914: Enforce Password change on First login
[osm/SOL005.git]
/
osm-openapi.yaml
diff --git
a/osm-openapi.yaml
b/osm-openapi.yaml
index
a7f57be
..
5b5eef9
100644
(file)
--- a/
osm-openapi.yaml
+++ b/
osm-openapi.yaml
@@
-3997,10
+3997,14
@@
paths:
content:
application/json:
schema:
content:
application/json:
schema:
- $ref: '#/components/schemas/TokenInfo'
+ oneOf:
+ - $ref: '#/components/schemas/TokenInfo'
+ - $ref: '#/components/schemas/PasswordExpiryInfo'
application/yaml:
schema:
application/yaml:
schema:
- $ref: '#/components/schemas/TokenInfo'
+ oneOf:
+ - $ref: '#/components/schemas/TokenInfo'
+ - $ref: '#/components/schemas/PasswordExpiryInfo'
'400':
$ref: '#/components/responses/BadRequest'
'401':
'400':
$ref: '#/components/responses/BadRequest'
'401':
@@
-7676,6
+7680,16
@@
components:
format: uuid
name:
type: string
format: uuid
name:
type: string
+ PasswordExpiryInfo:
+ type: object
+ properties:
+ id:
+ type: string
+ message:
+ type: string
+ user_id:
+ type: string
+ format: uuid
ArrayOfTokenInfo:
type: array
items:
ArrayOfTokenInfo:
type: array
items: