From: selvi.j Date: Wed, 23 Mar 2022 12:27:35 +0000 (+0000) Subject: Feature 10914: Enforce Password change on First login X-Git-Tag: v12.0.0rc1~5 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FSOL005.git;a=commitdiff_plain;h=a6f638b36ac2417881d28789cd30c57b0ea64a77 Feature 10914: Enforce Password change on First login Added the Password Expiry response information in the osm-openapi.yaml file Change-Id: Ib7d202eabecfdc0f1f1499b45299e672823f96fb Signed-off-by: selvi.j --- diff --git a/osm-openapi.yaml b/osm-openapi.yaml index a7f57be..5b5eef9 100644 --- a/osm-openapi.yaml +++ b/osm-openapi.yaml @@ -3997,10 +3997,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/TokenInfo' + oneOf: + - $ref: '#/components/schemas/TokenInfo' + - $ref: '#/components/schemas/PasswordExpiryInfo' application/yaml: schema: - $ref: '#/components/schemas/TokenInfo' + oneOf: + - $ref: '#/components/schemas/TokenInfo' + - $ref: '#/components/schemas/PasswordExpiryInfo' '400': $ref: '#/components/responses/BadRequest' '401': @@ -7676,6 +7680,16 @@ components: 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: