@@ -257,6 +257,13 @@ data SwaggerSecurityRequirement = SwaggerSecurityRequirement
257257data SwaggerTag = SwaggerTag
258258 deriving (Show)
259259
260+-- | Allows referencing an external resource for extended documentation.
260261data SwaggerExternalDocs = SwaggerExternalDocs
261− deriving (Show)
262+ { -- | A short description of the target documentation.
263+ -- GFM syntax can be used for rich text representation.
264+ swaggerExternalDocsDescription :: Maybe Text
265+
266+ -- | The URL for the target documentation.
267+ , swaggerExternalDocsURL :: URL
268+ } deriving (Show)
262269