mirror of
https://github.com/gsi-upm/senpy
synced 2025-10-20 02:08:26 +00:00
* Refactored BaseModel for efficiency * Added plugin metaclass to keep track of plugin types * Moved plugins to examples dir (in a previous commit) * Simplified validation in parse_params * Added convenience methods to mock requests in tests * Changed help schema to use `.valid_parameters` instead of `.parameters`, which was used in results to show parameters provided by the user. * Improved UI * Added basic parameters * Fixed bugs in parameter handling * Refactored and cleaned code
18 lines
372 B
JSON
18 lines
372 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"allOf": [
|
|
{"$ref": "response.json"},
|
|
{
|
|
"title": "Help",
|
|
"description": "Help containing accepted parameters",
|
|
"type": "object",
|
|
"properties": {
|
|
"valid_parameters": {
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": "valid_parameters"
|
|
}
|
|
]
|
|
}
|