Record: HttpResourceConfig

Configuration for an HTTP resource.

Closed record


  • 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 ListenerAuthConfig[ ] | Scopes?
  • Resource auth configurations