Closed philippemerle closed 2 years ago
operation_definition_for_type.py contains:
class OperationDefinitionForType(Entity):
ATTRS = dict(
description=String,
implementation=OperationImplementationDefinition,
inputs=Map(PropertyDefinition),
outputs=Map(List(String)),
)
Should inputs=Map(PropertyDefinition)
be replaced by inputs=Map(ParameterDefinition)
?
Thanks @philippemerle for uncovering this, we made a mistake, inputs=Map(ParameterDefinition)
seems to be the right thing.
The following service template:
can not be validated by opera:
Assigning the value of a parameter definition seems to be unsupported by the opera parser, doesn't it?