Service Mustache

from mustache import Mustache

Port NameLocationProtocolInterfaces
InputlocalMustacheInterface

List of Available Interfaces

MustacheInterface

Operation NameInput TypeOutput TypeFaultsDescription
renderRenderRequeststring-Renders a mustache template

Types

RenderRequest:
Type Declaration
void {
  template[1,1]: string // 
  data[0,1]: undefined // < The mustache template
  functions[0,1]: void {
    name[0,1]: string // < A service that offers functions to templates
    binding[1,1]: void {
      location[1,1]: any // < The binding information to reach the function provider
    } // < The name under which the functions can be accessed by the template (default is "fn")
  } // < Maximum limit for recursive calls specific for partials (default is 10)
  dir[0,1]: string // < The data for the template
  recursionLimit[0,1]: int // < The directory in which to look for other templates (for partials)
  partialsRecursionLimit[0,1]: int // < Maximum limit for recursive calls in partials (default is 100)
}
|void {
  template[1,1]: string // 
  data[0,1]: undefined // < The mustache template
  functions[0,1]: void {
    name[0,1]: string // < A service that offers functions to templates
    binding[1,1]: void {
      location[1,1]: any // < The binding information to reach the function provider
    } // < The name under which the functions can be accessed by the template (default is "fn"). Be careful in not choosing a name that is already present in `data`, since this would be overriden.
  } // < Maximum limit for recursive calls specific for partials. Default is 10
  recursionLimit[0,1]: int // 
  partials[0,1]: void {
    template[1,1]: string // 
    name[1,1]: string // < List of other templates to be used
  } // < The data for the template
  partialsRecursionLimit[0,1]: int // < Maximum limit for recursive calls in partials. Default is 100
}