Open
Description
Like this.
model DurationModel {
@encode("duration-constant")
input: duration;
}
@put
@route("/duration")
op duration(
@body body: DurationModel
): NoContentResponse;
The kind of the type of input
TCGC gives me is unknown
. However, if I add interface to that operation, the kind of input
becomes duration
.
Activity