InternalClientOptions interface

Options for getClient that are intended for use by generated clients. These are grouped under <xref:ClientOptions.internal> so they are not surfaced as top-level options on every generated client.

Properties

noDefaultAcceptHeader

When set to true, the client does not add a default Accept: application/json request header to operations that do not otherwise specify an Accept header. This allows operations that expect no response body to omit the Accept header.

Property Details

noDefaultAcceptHeader

When set to true, the client does not add a default Accept: application/json request header to operations that do not otherwise specify an Accept header. This allows operations that expect no response body to omit the Accept header.

noDefaultAcceptHeader?: boolean

Property Value

boolean