Last active
March 4, 2020 11:15
-
-
Save charmygarg/c24d1f03728411afd0f47c3148ba667a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: OpenAPI | |
description: This is a Create Identites server. For this sample, you can use | |
the api key `special-key` to test the authorization filters. | |
license: | |
name: Apache-2.0 | |
url: http://www.apache.org/licenses/LICENSE-2.0.html | |
version: 1.0.0 | |
servers: | |
- url: http://sfdc.swagger.io/v1 | |
tags: | |
- name: "Update password" | |
description: "Everything about Password update" | |
paths: | |
/updatePassword: | |
put: | |
tags: | |
- "user" | |
summary: "to update password" | |
description: "ddd" | |
operationId: "update Password" | |
requestBody: | |
required: true | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Profile' | |
responses: | |
'200': | |
description: Updated | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/Response' | |
components: | |
schemas: | |
Profile: | |
type: object | |
properties: | |
type: | |
type: string | |
id: | |
type: string | |
timestamp: | |
type: string | |
data: | |
$ref: '#/components/schemas/data' | |
data: | |
type: object | |
properties: | |
uid: | |
type: string | |
password: | |
type: string | |
Response: | |
type: object | |
properties: | |
status: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment