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

(-)a/api/v1/swagger/definitions/vendor.yaml (+10 lines)
Lines 146-151 properties: Link Here
146
  contracts:
146
  contracts:
147
    type: array
147
    type: array
148
    description: List of contracts
148
    description: List of contracts
149
  extended_attributes:
150
    description: Related additional field values
151
    type:
152
      - array
153
    items:
154
      $ref: extended_attribute_value.yaml
155
  _strings:
156
    type:
157
      - object
158
      - "null"
149
additionalProperties: false
159
additionalProperties: false
150
required:
160
required:
151
  - name
161
  - name
(-)a/api/v1/swagger/paths/acquisitions_vendors.yaml (+4 lines)
Lines 37-42 Link Here
37
            - aliases
37
            - aliases
38
            - baskets
38
            - baskets
39
            - subscriptions+count
39
            - subscriptions+count
40
            - extended_attributes
41
            - +strings
40
        collectionFormat: csv
42
        collectionFormat: csv
41
    responses:
43
    responses:
42
      "200":
44
      "200":
Lines 153-158 Link Here
153
            - interfaces
155
            - interfaces
154
            - contacts
156
            - contacts
155
            - contracts
157
            - contracts
158
            - extended_attributes
159
            - +strings
156
        collectionFormat: csv
160
        collectionFormat: csv
157
    produces:
161
    produces:
158
      - application/json
162
      - application/json
(-)a/api/v1/swagger/paths/extended_attribute_types.yaml (-2 / +5 lines)
Lines 23-28 Link Here
23
          - package
23
          - package
24
          - order
24
          - order
25
          - subscription
25
          - subscription
26
          - vendor
26
      - $ref: "../swagger.yaml#/parameters/match"
27
      - $ref: "../swagger.yaml#/parameters/match"
27
      - $ref: "../swagger.yaml#/parameters/order_by"
28
      - $ref: "../swagger.yaml#/parameters/order_by"
28
      - $ref: "../swagger.yaml#/parameters/page"
29
      - $ref: "../swagger.yaml#/parameters/page"
Lines 59-62 Link Here
59
          $ref: "../swagger.yaml#/definitions/error"
60
          $ref: "../swagger.yaml#/definitions/error"
60
    x-koha-authorization:
61
    x-koha-authorization:
61
      permissions:
62
      permissions:
62
        parameters: manage_additional_fields
63
        - parameters: 
64
          - manage_additional_fields
65
        - acquisition: 
66
          - vendors_manage
63
- 

Return to bug 38262