Quick fix on API docs

pull/1/head
Piero Toffanin 2016-09-16 20:47:05 -04:00
rodzic 98ff96e928
commit 0eb14d6af8
3 zmienionych plików z 7 dodań i 6 usunięć

Wyświetl plik

@ -66,15 +66,15 @@ Retrieves the command line options that can be passed to process a task
|=== |===
|Name|Description|Schema |Name|Description|Schema
|*domain* + |*domain* +
_optional_|Valid range of values (for example, "positive integer" or "float > 0.0")|string _required_|Valid range of values (for example, "positive integer" or "float > 0.0")|string
|*help* + |*help* +
_optional_|Description of what this option does|string _required_|Description of what this option does|string
|*name* + |*name* +
_optional_|Command line option (exactly as it is passed to the OpenDroneMap process, minus the leading '–')|string _required_|Command line option (exactly as it is passed to the OpenDroneMap process, minus the leading '–')|string
|*type* + |*type* +
_optional_|Datatype of the value of this option|enum (int, float, string, bool) _required_|Datatype of the value of this option|enum (int, float, string, bool)
|*value* + |*value* +
_optional_|Default value of this option|string _required_|Default value of this option|string
|=== |===

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -417,6 +417,7 @@ app.post('/task/restart', uuidCheck, (req, res) => {
* items: * items:
* title: Option * title: Option
* type: object * type: object
* required: [name, type, value, domain, help]
* properties: * properties:
* name: * name:
* type: string * type: string