You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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..
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...Not sure if the project should be limited that hard, though
The text was updated successfully, but these errors were encountered: