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

Safe HaskellNone
LanguageHaskell2010

OpenAPI.Generate.Reference

Description

Contains function to resolve references within the OpenAPI specification

Synopsis

Documentation

type ReferenceMap = Map Text ComponentReference Source #

A lookup table for references within the OpenAPI specification

data ComponentReference Source #

Represents all types the ReferenceMap can hold

Instances
Eq ComponentReference Source # 
Instance details

Defined in OpenAPI.Generate.Reference

Show ComponentReference Source # 
Instance details

Defined in OpenAPI.Generate.Reference

Generic ComponentReference Source # 
Instance details

Defined in OpenAPI.Generate.Reference

Associated Types

type Rep ComponentReference :: Type -> Type #

type Rep ComponentReference Source # 
Instance details

Defined in OpenAPI.Generate.Reference

buildReferenceMap :: OpenApiSpecification -> ReferenceMap Source #

Creates a ReferenceMap from an OpenApiSpecification containing all elements within components. It does not capture possibly referenced locations anywhere else in the specification.