Endpoint type
HTTP / endpointHTTP endpoint
A concrete HTTP route used as a source or sink.
When to use
Create this endpoint inside a HTTP connector, then select it from an Input or Sink stream.
Behavior
- Defines one concrete entry or exit point.
- Its owning connector supplies the transport.
General properties
Endpoint identity
PropertyTypeDescription
namestringEndpoint name unique in the topology.
RequiredHTTP properties
HTTP endpoint contract
PropertyTypeDescription
httpMethodTypeGET | POSTHTTP verb.
Default:POSTAllowed: GET, POSTpathstringUnique route path.
RequiredFunction properties
Generated transport handler and code placement
PropertyTypeDescription
functionNamesymbolGenerated endpoint handler name.
functionPackagestringGenerated handler package.
publicFunctionbooleanPlaces the handler in shared code.
Default:falsefunctionDescriptiontextGenerated documentation comment.
functionInitializerGroupstringDependency-injection initialization group.
functionModuleModuleShared module for the handler.
Visible when publicFunction is true.Configuration example
name: Create order
httpMethodType: POST
path: /v1/orders