Skip to content

Commit

Permalink
Fix schema of attributes list
Browse files Browse the repository at this point in the history
  • Loading branch information
saraycp committed Mar 13, 2023
1 parent 600e44d commit 9c0178e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ type: array
items:
type: object
properties:
attribute:
type: object
properties:
name:
type: string
xml:
attribute: true
namespace:
type: string
xml:
attribute: true
name:
type: string
xml:
attribute: true
namespace:
type: string
xml:
attribute: true
xml:
name: attribute
xml:
name: attributes
wrapped: true
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ get:
schema:
$ref: '../components/schemas/source/attributes.yaml'
example:
attribute:
name: MaintenanceProject
- name: MaintenanceProject
namespace: OBS
'400':
description: Wrong value for deleted parameter.
Expand Down Expand Up @@ -65,8 +64,7 @@ post:
schema:
$ref: '../components/schemas/source/attributes.yaml'
example:
attribute:
name: MaintenanceProject
- name: MaintenanceProject
namespace: OBS
responses:
'200':
Expand Down

0 comments on commit 9c0178e

Please sign in to comment.