Commit 87d274b8 authored by Nicolas Pouillard's avatar Nicolas Pouillard

Fix ToSchema typo

parent bb0bbdb0
......@@ -540,7 +540,7 @@ instance ToSchema HyperdataAnnuaire where
instance ToSchema HyperdataDocument where
declareNamedSchema proxy =
genericDeclareNamedSchema (unPrefixSwagger "hyperdataDocument_") proxy
genericDeclareNamedSchema (unPrefixSwagger "_hyperdataDocument_") proxy
& mapped.schema.description ?~ "a document"
& mapped.schema.example ?~ toJSON hyperdataDocument
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment