cancel
Showing results for 
Search instead for 
Did you mean: 

Can Swagger.io be used for normal java library?

ecstasy1857
New Member

Can Swagger.io be used for normal java library?

Can we used swagger.io for normal java library? or its only for REST APIs?

Thanks!

2 REPLIES 2
hugomario
Staff

Re: Can Swagger.io be used for normal java library?

Hello @ecstasy1857 

 

Swagger is meant to work based on a OpenAPI specification. But certainly it can be used as a library, it's just up to you.

HKosova
Moderator

Re: Can Swagger.io be used for normal java library?

Hi @ecstasy1857,

 

OpenAPI Specification and Swagger tools are designed for REST APIs only.

 

To document arbitrary Java libraries, you can use Javadoc, Doxygen, DocFX, or similar tools.


Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements