Skip to content

Swagger Schema mostly empty #82

@AndiRudi

Description

@AndiRudi

I started the default template and realised that the Swagger UI does not show the Model details of e.g. Post Issue. Reason is probably, that they are defined with Property getters only..

public string Title { get; }

Not sure if there is a good solution but I changed the TargetFramework to net5.0 and then we can use the new init operator which seams to work...

public string Title { get; init; }

Not sure if the project should be limited that hard, though

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions