Skip to content

Commit

Permalink
Allow file paths for UDFs @aljacob
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Dec 9, 2019
1 parent 5093019 commit 8ad5eb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run_udf.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"format": "uri",
"subtype": "uri"
},
{
"description": "Path to an UDF uploaded to the server.",
"type": "string",
"subtype": "file-path"
},
{
"description": "Source code as string",
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions tests/openapi.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ var subtypes = {
'bounding-box': {type: 'object'},
'collection-id': {type: 'string'},
'epsg-code': {type: 'integer'},
'file-path': {type: 'string'},
'geojson': {type: 'object'},
'job-id': {type: 'string'},
'kernel': {type: 'array'},
Expand Down

1 comment on commit 8ad5eb4

@aljacob
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, dankeschön :)
approved from my side

Please sign in to comment.