fsharp-functions-server.ServiceInterface.mustache Maven / Gradle / Ivy
namespace {{packageName}}
open {{classname}}HandlerParams
open System
open Microsoft.AspNetCore.Http
module {{classname}}ServiceInterface =
//#region Service interface
type I{{classname}}Service =
{{#operations}}
{{#operation}}
abstract member {{operationId}} : {{^hasBodyParam}}unit{{/hasBodyParam}}{{#hasBodyParam}}{{operationId}}BodyParams{{/hasBodyParam}} -> {{operationId}}Result
{{/operation}}
{{/operations}}
//#endregion