@>2      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None*+,09:;<=DIQRT"a static path segment. like "/foo"a capture. like "/:userid"aUtility class used by ro which computes the data needed to generate a function for each endpoint and hands it all back in a list.ii maps Haskell types with types in the target language of your backend. For example, let's say you're implementing a backend to some language XU, and you want a Text representation of each input/output type mentioned in the API: -- First you need to create a dummy type to parametrize your -- instances. data LangX -- Otherwise you define instances for the types you need instance HasForeignType LangX Text Int where typeFor _ _ _ = "intX" -- Or for example in case of lists instance HasForeignType LangX Text a => HasForeignType LangX Text [a] where typeFor lang type _ = "listX of " <> typeFor lang ftype (Proxy :: Proxy a)lFinally to generate list of information about all the endpoints for an API you create a function of a form: getEndpoints :: (HasForeign LangX Text api, GenerateList Text (Foreign Text api)) => Proxy api -> [Req Text] getEndpoints api = listFromAPI (Proxy :: Proxy LangX) (Proxy :: Proxy Text) api |-- If language __X__ is dynamically typed then you can use -- a predefined NoTypes parameter with the NoContent output type: getEndpoints :: (HasForeign NoTypes NoContent api, GenerateList Text (Foreign NoContent api)) => Proxy api -> [Req NoContent] getEndpoints api = listFromAPI (Proxy :: Proxy NoTypes) (Proxy :: Proxy NoContent) api r8Generate the necessary data for codegen as a list, each T/ describing one endpoint from your API type.i !"#$%)*+,-./0456789:>?@ABCDHIJKLMNOPTUVWXYZ[\]abcdefghijklmnopqrstuvwxyz{|}~R !"#$%),*+-./0456789:>?@ABCDHIJKLMNOPTUVWXYZ[\]abcdefghijklmnopqrj  %$!"#./0-)*+,:984567DC>?@AABIHONJKLMP]\TUVWXYZ[ponmlkqijhefgcd~}|{zyxwvabutsrE !"#$%)*+,-./0456789:>?@AABCDHIJKLMNOPTUVWXYZ[\]abcdefghijklmnopqrstuvwxyz{|}~None*+,09:;<=DIQRT;Function name builder that simply concat each part togetherpFunction name builder using the snake_case convention. each part is separated by a single underscore character.eFunction name builder using the CamelCase convention. each part begins with an upper case character.None*+,09:;<=DIQRT  !"#$%),*+-/0456789:>?@ABCDHJKLMNOTUVWXYZ[\]abefghijklmnopqrM)*+,>?@AAB4567TUVWXYZ[!"#JKLM- pnmkol\]CDHNO$%89:efgijabh0/qr        !""#$%&'()*+,-./01234456789:;<==>?@ABCDEFGHHIJKLMNOPQQRSTUVWXYZ[\]^__`abcdefghijklmnopqrstuvwxyz{|}~     -servant-foreign-0.10.2-Hm1aae8KLz13DK45BXuZP0Servant.Foreign.InternalServant.Foreign.InflectionsServant.Foreign FunctionNameunFunctionName$fDataFunctionName$fShowFunctionName$fEqFunctionName$fMonoidFunctionName PathSegment unPathSegment _FunctionName$fDataPathSegment$fShowPathSegment$fEqPathSegment$fIsStringPathSegment$fMonoidPathSegmentArg_argName_argType _PathSegment $fDataArg$fEqArg $fShowArg SegmentTypeStaticCapargNameargTypeargPath$fDataSegmentType$fEqSegmentType$fShowSegmentTypeSegment unSegment_Static_Cap $fDataSegment $fEqSegment $fShowSegmentArgTypeNormalFlagListPath_Segment isCapture captureArg $fDataArgType $fEqArgType $fShowArgTypeQueryArg _queryArgName _queryArgType_Normal_Flag_List$fDataQueryArg $fEqQueryArg$fShowQueryArg HeaderArgReplaceHeaderArg _headerArg_headerPattern queryArgName queryArgType$fDataHeaderArg $fEqHeaderArg$fShowHeaderArg headerArg headerPatternUrl_path _queryStr _HeaderArg_ReplaceHeaderArgdefUrl $fDataUrl$fEqUrl $fShowUrlReq_reqUrl _reqMethod _reqHeaders_reqBody_reqReturnType _reqFuncNamepathqueryStr $fDataReq$fEqReq $fShowReq GenerateList generateListEmptyForeignAPI HasForeignForeign foreignForNoTypesHasForeignTypetypeForreqBody reqFuncName reqHeaders reqMethod reqReturnTypereqUrldefReq listFromAPI$fGenerateListftype:<|>$fGenerateListftypeReq"$fGenerateListftypeEmptyForeignAPI$fHasForeignklangftype:>$fHasForeignklangftype:>0$fHasForeignklangftype:>1&$fHasForeignklangftypeWithNamedContext$fHasForeignklangftype:>2$fHasForeignklangftype:>3$fHasForeignklangftype:>4$fHasForeignklangftype:>5$fHasForeignklangftype:>6$fHasForeignklangftypeRaw$fHasForeignklangftype:>7$fHasForeignklangftype:>8$fHasForeignklangftype:>9$fHasForeignklangftype:>10$fHasForeignklangftypeVerb$fHasForeignklangftype:>11$fHasForeignklangftype:>12$fHasForeignklangftypeEmptyAPI$fHasForeignklangftype:<|>*$fHasForeignTypekTYPENoTypesNoContentftype concatCaseL concatCase snakeCaseL snakeCase camelCaseL camelCase,http-api-data-0.3.7.1-24UzYiqH5SH4P0bIvmMk1PWeb.Internal.HttpApiData ToHttpApiData toUrlPiecetoEncodedUrlPiecetoHeader toQueryParamFromHttpApiData parseUrlPiece parseHeaderparseQueryParam%http-types-0.10-Cmn3ZvBAFrCp8W1yqUS6mNetwork.HTTP.Types.Method StdMethodGETPOSTHEADPUTDELETETRACECONNECTOPTIONSPATCHNetwork.HTTP.Types.Version HttpVersion httpMajor httpMinor*network-uri-2.6.1.0-Hz1OR91jXzHIcSp1mipvg3 Network.URIURI uriScheme uriAuthorityuriPathuriQuery uriFragment#servant-0.12-AQmRz3TDpVo5YDrJHpDgbEServant.Utils.LinkssafeLinkLinkHasLinkMkLinktoLinkServant.API.TypeLevelIsElem'IsElemServant.API.Alternative:<|>Servant.API.BasicAuth BasicAuth BasicAuthDatabasicAuthUsernamebasicAuthPasswordServant.API.CaptureCapture CaptureAllServant.API.ContentTypesJSON PlainTextFormUrlEncoded OctetStreamAccept contentType contentTypes MimeRender mimeRender MimeUnrender mimeUnrendermimeUnrenderWithType NoContentServant.API.DescriptionSummary DescriptionServant.API.EmptyEmptyAPIServant.API.Experimental.Auth AuthProtectServant.API.ResponseHeadersnoHeader addHeaderHeaders getResponsegetHeadersHListHListHNilHConsBuildHeadersTobuildHeadersTo GetHeaders getHeaders AddHeaderServant.API.HeaderHeader MissingHeaderUndecodableHeaderServant.API.IsSecureIsSecureSecure NotSecureServant.API.QueryParam QueryParam QueryParams QueryFlagServant.API.RawRawServant.API.RemoteHost RemoteHostServant.API.ReqBodyReqBodyServant.API.Sub:>Servant.API.VerbsVerbGetPostPutDeletePatch PostCreated GetAccepted PostAcceptedDeleteAccepted PatchAccepted PutAcceptedGetNonAuthoritativePostNonAuthoritativeDeleteNonAuthoritativePatchNonAuthoritativePutNonAuthoritative GetNoContent PostNoContentDeleteNoContentPatchNoContent PutNoContentGetResetContentPostResetContentGetPartialContent ReflectMethod reflectMethodServant.API.WithNamedContextWithNamedContext$vault-0.3.0.7-3pqjPhWpsnyG2kCMa0q0VIData.Vault.LazyVault