add

@JvmName(name = "addConsumes")
fun DslList<String, EndpointKt.Dsl.ConsumesProxy>.add(value: String)
Types accepted by this method.

repeated string consumes = 6;

Parameters

value

The consumes to add.


@JvmName(name = "addProduces")
fun DslList<String, EndpointKt.Dsl.ProducesProxy>.add(value: String)
Types produced by this method.

repeated string produces = 7;

Parameters

value

The produces to add.


@JvmName(name = "addMethod")
fun DslList<EndpointMethods, EndpointKt.Dsl.MethodProxy>.add(value: EndpointMethods)
HTTP methods supported by this endpoint.

repeated .elide.meta.EndpointMethods method = 8;

Parameters

value

The method to add.