Skip to content

fsharp example to build a document #672

@jkone27

Description

@jkone27

do you have an F# example to build a document, or could you add a more functional builder for F# users?

e.g. a CE like , just an example but for sure would become easier to build this object from F#

https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/computation-expressions

let document = 
    openapi {
           version "1"
           get "/test" 
           post "/testthis"
    
    //..
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:documentationGeneral documentation request or project documentation update

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions