Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- “properties”: {
- “users”: {
- “type”: “array”
- “items”: {
- '$ref': '#/definitions/user’
- }
- },
- “tasks”: {
- “type”: “array”
- “items”: {
- '$ref': '#/definitions/task’
- }
- }
- },
- definitions: {
- “task”: {
- “properties”: {
- "name" : {"type" :String}
- “assignee”: {"type" : String}
- }
- links: [
- {
- 'rel': 'full',
- 'href': '#/users/{assignee}',
- 'targetSchema': {
- '$ref': '#/definitions/user’
- }
- }
- ],
- }
- "user" {
- “properties”: {
- "name": {type: string}
- "id": {type: string}
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement