@@ -303,14 +303,14 @@ data ShowContentTypes = AllContentTypes | FirstContentType
303303 deriving (Eq, Ord, Show, Read, Bounded, Enum)
304304
305305-- | Customise how an 'API' is converted into documentation.
306−data ApiOptions = ApiOptions
306+data RenderingOptions = RenderingOptions
307307 { _requestExamples :: !ShowContentTypes
308308 , _responseExamples :: !ShowContentTypes
309309 } deriving (Show)
310310
311311-- | Default API generation options.
312−defApiOptions :: ApiOptions
313−defApiOptions = ApiOptions
312+defRenderingOptions :: RenderingOptions
313+defRenderingOptions = RenderingOptions
314314 { _requestExamples = AllContentTypes
315315 , _responseExamples = AllContentTypes
316316 }
@@ -326,7 +326,7 @@ makeLenses ''DocIntro
326326makeLenses ''DocNote
327327makeLenses ''Response
328328makeLenses ''Action
329−makeLenses ''ApiOptions
329+makeLenses ''RenderingOptions
330330
331331-- | Generate the docs for a given API that implements 'HasDocs'. This is the
332332-- default way to create documentation.
@@ -543,10 +543,10 @@ class ToAuthInfo a where
543543-- | Generate documentation in Markdown format for
544544-- the given 'API'.
545545markdown :: API -> String
546−markdown = markdownWith defApiOptions
546+markdown = markdownWith defRenderingOptions
547547
548−markdownWith :: ApiOptions -> API -> String
549−markdownWith ApiOptions{..} api = unlines $
548+markdownWith :: RenderingOptions -> API -> String
549+markdownWith RenderingOptions{..} api = unlines $
550550 introsStr (api ^. apiIntros)
551551 ++ (concatMap (uncurry printEndpoint) . sort . HM.toList $ api ^. apiEndpoints)
552552