I have Class library
project. I want to configure Swagger
in Class library
project. I already know how to configure Swagger
in .net core
and web api
but not getting any right way to configure in Class library
project. If anyone have any idea about it then please share.
Asked
Active
Viewed 727 times
0

Govinda Rajbhar
- 2,926
- 6
- 37
- 62
-
Is this class library intended to be used in a REST API? – Helen Jul 20 '21 at 12:22
-
@Helen Actually it is old project and they have used class library. – Govinda Rajbhar Jul 20 '21 at 13:27
-
OpenAPI Specification and Swagger tools are only for REST APIs, not for generic class libraries. See [What's the equivalent of Swagger for SDKs?](https://stackoverflow.com/q/46668786/113116) – Helen Jul 20 '21 at 14:17