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

(-)a/api/v1/swagger/definitions/library.yaml (+10 lines)
Lines 115-120 properties: Link Here
115
  needs_override:
115
  needs_override:
116
    type: boolean
116
    type: boolean
117
    description: If the library needs an override to act as pickup location for a hold
117
    description: If the library needs an override to act as pickup location for a hold
118
  cash_registers:
119
    type:
120
      - array
121
      - "null"
122
    description: The library's defined cash registers (x-koha-embed)
123
  desks:
124
    type:
125
      - array
126
      - "null"
127
    description: The library's defined desks (x-koha-embed)
118
additionalProperties: false
128
additionalProperties: false
119
required:
129
required:
120
  - library_id
130
  - library_id
(-)a/api/v1/swagger/paths/libraries.yaml (-1 / +4 lines)
Lines 102-107 Link Here
102
        items:
102
        items:
103
          type: string
103
          type: string
104
          enum:
104
          enum:
105
            - cash_registers
106
            - desks
105
            - smtp_server
107
            - smtp_server
106
        collectionFormat: csv
108
        collectionFormat: csv
107
    produces:
109
    produces:
Lines 194-199 Link Here
194
        items:
196
        items:
195
          type: string
197
          type: string
196
          enum:
198
          enum:
199
            - cash_registers
200
            - desks
197
            - smtp_server
201
            - smtp_server
198
        collectionFormat: csv
202
        collectionFormat: csv
199
    produces:
203
    produces:
200
- 

Return to bug 36482