All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.ServiceDefinitions.vm Maven / Gradle / Ivy

The newest version!



    ServiceDefinitionTemplate


ServiceDefinition

ROOT URI: $sd.path()

Consuming:

    #foreach( $p in $sd.mediaToConsume() )
  • $p
  • #end

Producing:

    #foreach( $p in $sd.mediaToProduce() )
  • $p
  • #end

#foreach( $sh in $sd.serviceHandlers() )

ServiceHandler

URI: $sd.path()${sh.path()}

Method: ${sh.getHttpMethod()}

#if($sh.consumeClass())

Consuming: $sh.consumeMediaType() using class $sh.consumeClass()

#else

Consuming: $sh.consumeMediaType()

#end

Producing:

    #foreach( $p in $sh.produceMediaType() )
  • $p
  • #end

Action: $sh.action

#end




© 2015 - 2025 Weber Informatics LLC | Privacy Policy