View | Details | Raw Unified | Return to bug 27855
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/extended_attribute.json (-24 lines)
Lines 1-24 Link Here
1
{
2
  "type": "object",
3
  "properties": {
4
    "extended_attribute_id": {
5
      "description": "Internal ID for the extended attribute",
6
      "type": "integer"
7
    },
8
    "type": {
9
      "description": "Extended attribute type",
10
      "type": "string"
11
    },
12
    "value": {
13
      "description": "Extended attribute value",
14
      "type": [
15
        "string"
16
      ]
17
    }
18
  },
19
  "additionalProperties": false,
20
  "required": [
21
    "type",
22
    "value"
23
  ]
24
}
(-)a/api/v1/swagger/definitions/patron.json (-2 / +22 lines)
Lines 286-292 Link Here
286
      "type": "array",
286
      "type": "array",
287
      "description": "patron's extended attributes",
287
      "description": "patron's extended attributes",
288
      "items": {
288
      "items": {
289
        "$ref": "extended_attribute.json"
289
        "type": "object",
290
        "properties": {
291
          "extended_attribute_id": {
292
            "description": "Internal ID for the extended attribute",
293
            "type": "integer"
294
          },
295
          "type": {
296
            "description": "Extended attribute type",
297
            "type": "string"
298
          },
299
          "value": {
300
            "description": "Extended attribute value",
301
            "type": [
302
              "string"
303
            ]
304
          }
305
        },
306
        "additionalProperties": false,
307
        "required": [
308
          "type",
309
          "value"
310
        ]
290
      }
311
      }
291
    }
312
    }
292
  },
313
  },
293
- 

Return to bug 27855