Hi All,
Busy creating an web api project with .Net Core and documenting the API with Swagger.
I am using the below package and everything works except for a want to document the ProblemDetails class with is part of .Net Core.
github.com
As this class is not mine, I am unable to annotate the class and properties due to not having the source in my project. I can create a subclass and reintroduce all the properties and annotate them, and then Swagger works fine, but this is not a solution I really like.
Is there a way create a class documentation without actually having access to the class source.
NB: I am using the Swashbuckle.AspNetCore.Annotations and not the XML comments/document to generate the Swagger docs.
github.com
Thanks
Busy creating an web api project with .Net Core and documenting the API with Swagger.
I am using the below package and everything works except for a want to document the ProblemDetails class with is part of .Net Core.
GitHub - domaindrivendev/Swashbuckle.AspNetCore: Swagger tools for documenting API's built on ASP.NET Core
Swagger tools for documenting API's built on ASP.NET Core - domaindrivendev/Swashbuckle.AspNetCore
As this class is not mine, I am unable to annotate the class and properties due to not having the source in my project. I can create a subclass and reintroduce all the properties and annotate them, and then Swagger works fine, but this is not a solution I really like.
Is there a way create a class documentation without actually having access to the class source.
NB: I am using the Swashbuckle.AspNetCore.Annotations and not the XML comments/document to generate the Swagger docs.
GitHub - domaindrivendev/Swashbuckle.AspNetCore: Swagger tools for documenting API's built on ASP.NET Core
Swagger tools for documenting API's built on ASP.NET Core - domaindrivendev/Swashbuckle.AspNetCore
Thanks