X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm-openapi.yaml;h=5b5eef9c731b5341cc7bba62a6e2b4ac6390ff19;hb=refs%2Fchanges%2F78%2F11778%2F2;hp=a7f57be579afc71e13243e8239abeff35fab62d9;hpb=b5a065ff1d8cf5b3f6a2e515a3a242d04a07116e;p=osm%2FSOL005.git 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: