wire-api-federation-0.1.0: The Wire server-to-server API for federation
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.Federation.API.Common

Synopsis

Documentation

data EmptyResponse Source #

This is equivalent to (), but JSONifies to an empty object instead of an empty array. Returning an empty object gives us more flexibility, allowing us to expand the response without breaking compatibility.

Constructors

EmptyResponse 

Instances

Instances details
Arbitrary EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

FromJSON EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

ToJSON EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

Generic EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

Associated Types

type Rep EmptyResponse :: Type -> Type #

Show EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

Eq EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

ToSchema EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

type Rep EmptyResponse Source # 
Instance details

Defined in Wire.API.Federation.API.Common

type Rep EmptyResponse = D1 ('MetaData "EmptyResponse" "Wire.API.Federation.API.Common" "wire-api-federation-0.1.0-ARZyNQKMq4lCWdaEdWVlig" 'False) (C1 ('MetaCons "EmptyResponse" 'PrefixI 'False) (U1 :: Type -> Type))