Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swagger: "2.0"
- info:
- description: "This is the TEZ Identity Gateway api, that is used for public/external identity management"
- version: "1.0.0"
- title: "TEZ Identity GateWay"
- contact:
- email: "anthony.whitehead@tieto.com"
- host: "TBD"
- basePath: "/v0"
- schemes:
- - "https"
- - "http"
- paths:
- /user/create:
- post:
- tags:
- - "createUser"
- summary: "Create new user to TEZ"
- description: "Create new user to TEZ"
- operationId: "createUser"
- consumes:
- - "application/json"
- produces:
- - "application/json"
- parameters:
- - in: "body"
- name: "User object to be addedd to TEZ"
- description: "First Name of the person added to TEZ identity"
- required: false
- schema:
- $ref: "#/definitions/User"
- responses:
- 200:
- description: "OK"
- 405:
- description: "Invalid input"
- securityDefinitions:
- petstore_auth:
- type: "oauth2"
- authorizationUrl: "http://petstore.swagger.io/oauth/dialog"
- flow: "implicit"
- scopes:
- write:pets: "modify pets in your account"
- read:pets: "read your pets"
- api_key:
- type: "apiKey"
- name: "api_key"
- in: "header"
- definitions:
- User:
- type: "object"
- properties:
- UserId:
- type: "integer"
- format: "int64" #TODO: Format of UserId
- example: 243
- username:
- type: "string"
- example: "mrosin"
- firstName:
- type: "string"
- example: "Martin"
- lastName:
- type: "string"
- example: "Rosin"
- email:
- type: "string"
- example: "firstname.lastname@company.com"
- password:
- type: "string"
- example: "h95`>vBuC6#d'K<7"
- xml:
- name: "User"
- externalDocs:
- description: "Find out more about Swagger"
- url: "http://swagger.io"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement