Record - http : HttpResourceConfig

Configuration for an HTTP resource.

Fields

  • methods string []
  • The array of allowed HTTP methods

  • path string
  • The path of resource

  • body string
  • Inbound request entity body name which declared in signature

  • consumes string []
  • The media types which are accepted by resource

  • produces string []
  • The media types which are produced by resource

  • cors CorsConfig {}
  • The cross origin resource sharing configurations for the resource. If not set, the resource will inherit the CORS behaviour of the enclosing service.

  • transactionInfectable boolean true
  • Allow to participate in the distributed transactions if value is true