Skip to content

Add Builder to simplify openapi document object construction #673

Description

@jkone27

A regular C# builder pattern would help a lot in many scenarios.
Building an object now is very complex...

Builder pattern is also the "de facto" in Aspnetcore.. so would make sense to expose a similar api

varopenApiDocumentBuilder=newOpenApiDocumentBuilder().WithServers(...).WithOperation(...).WithOperation(...).WithSchema(...);//... etcvaropenApiDocument=openApiDocumentBuilder.Build();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions