Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- data Referencable a
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 |