Forum Discussion

ecstasy1857's avatar
New Member
4 years ago

Can be used for normal java library?

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


2 Replies

  • 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's avatar
    SmartBear Alumni (Retired)

    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.