Record - http : HttpResourceConfig

Configuration for an HTTP resource.


  • methods string[] (default [])
  • 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[] (default [])
  • The media types which are accepted by resource

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

  • cors CorsConfig (default {})
  • 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 (default true)
  • Allow to participate in the distributed transactions if value is true

  • auth ResourceAuth
  • Authentication Configs to secure the resource