Skip to content

Commit

Permalink
Merge pull request #39 from rhafer/mepassword
Browse files Browse the repository at this point in the history
add /me/changePassword
  • Loading branch information
micbar authored May 5, 2022
2 parents 047d6ba + 414aded commit 0f3d943
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions api/openapi-spec/v0.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,31 @@ paths:
default:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: operation
/me/changePassword:
post:
tags:
- me.changepassword
summary: Chanage your own password
operationId: ChangeOwnPassword
requestBody:
description: Password change request
content:
application/json:
schema:
title: Password change
type: object
properties:
currentPassword:
type: string
newPassword:
type: string
required: true
responses:
'204':
description: Success
default:
$ref: '#/components/responses/error'
x-ms-docs-operation-type: operation
/me/drives:
get:
tags:
Expand Down

0 comments on commit 0f3d943

Please sign in to comment.