Skip to content

Commit

Permalink
launch: update openapi spec of validation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Dec 5, 2023
1 parent 204b290 commit b2d2625
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,15 @@
"properties": {
"additional_properties": {
"items": {
"type": "string"
"properties": {
"path": {
"type": "string"
},
"property": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
Expand Down
7 changes: 6 additions & 1 deletion reana_server/rest/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,12 @@ def launch(user, url, name="", parameters="{}", specification=None):
additional_properties:
type: array
items:
type: string
type: object
properties:
property:
type: string
path:
type: string
examples:
application/json:
{
Expand Down

0 comments on commit b2d2625

Please sign in to comment.