openapi3-code-generator-0.1.0.6: OpenAPI3 Haskell Client Code Generator

Safe HaskellNone
LanguageHaskell2010

OpenAPI.Generate.Types.Referencable

Description

Many fields in OpenAPI can be either a reference or a concrete object. This module adds this capabilities.

For more information see http://spec.openapis.org/oas/v3.0.3#reference-object

Synopsis

Documentation

data Referencable a Source #

Represents either a reference or a concrete value

Constructors

Reference Text

A reference with the JSON reference string pointing to the referenced target

Concrete a

A concrete value which can be used directly