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

(-)a/api/v1/swagger/definitions/library.yaml (+10 lines)
Lines 120-125 properties: Link Here
120
      - array
120
      - array
121
      - "null"
121
      - "null"
122
    description: The open and close times for a library on any given day
122
    description: The open and close times for a library on any given day
123
  cash_registers:
124
    type:
125
      - array
126
      - "null"
127
    description: The library's defined cash registers (x-koha-embed)
128
  desks:
129
    type:
130
      - array
131
      - "null"
132
    description: The library's defined desks (x-koha-embed)
123
additionalProperties: false
133
additionalProperties: false
124
required:
134
required:
125
  - library_id
135
  - 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
            - library_hours
108
            - library_hours
107
        collectionFormat: csv
109
        collectionFormat: csv
Lines 195-200 Link Here
195
        items:
197
        items:
196
          type: string
198
          type: string
197
          enum:
199
          enum:
200
            - cash_registers
201
            - desks
198
            - smtp_server
202
            - smtp_server
199
            - library_hours
203
            - library_hours
200
        collectionFormat: csv
204
        collectionFormat: csv
201
- 

Return to bug 36482