core.src.api.EventsResource.mustache Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of web3j-openapi-codegen Show documentation
Show all versions of web3j-openapi-codegen Show documentation
web3j-openapi project code generators
package {{packageName}}.core.{{contractName}}
{{#eventImports}}
{{import}}
{{/eventImports}}
{{#modelImports}}
{{import}}
{{/modelImports}}
import org.web3j.openapi.core.SubResource
import javax.annotation.Generated
import javax.ws.rs.Path
import io.swagger.v3.oas.annotations.Operation
{{#contractDetails}}
@Generated
interface {{capitalizedContractName}}Events : SubResource {
@Operation(tags = ["{{capitalizedContractName}} Events"], summary = "List all {{capitalizedContractName}} events")
override fun findAll(): List
{{/contractDetails}}
{{#contractResources.eventResources}}
{{{path}}}
{{resource}} : {{{returnType}}}
{{/contractResources.eventResources}}
}