Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- swagger: "2.0"
- info:
- title: Sample API
- description: API description in Markdown.
- version: 1.0.0
- host: api.example.com
- schemes:
- - http
- paths:
- /users:
- post:
- operationId: UserCreate
- parameters:
- - name: body
- in: body
- required: true
- schema:
- allOf:
- - $ref: "#/definitions/ID"
- - $ref: "#/definitions/User_object"
- - type: object
- required:
- - ID
- - genderCode
- - birthDate
- - Code
- produces:
- - application/json
- consumes:
- - application/json
- responses:
- 200:
- description: "OK"
- definitions:
- ID:
- title: ID
- properties:
- GUID:
- type: string
- description: "ID"
- format: uuid
- User_object:
- title: User_object
- properties:
- genderCode:
- type: string
- birthDate:
- type: string
- format: date
- Code:
- type: string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement