Champooo
Champooo

Reputation: 13

Differences between Swagger2 and JavaDoc

I have a REST SpringBoot application with Swagger endpoints documentation. But my teacher said use JavaDoc

Whats the differences JavaDoc and Swagger?

Upvotes: 1

Views: 1383

Answers (1)

dassum
dassum

Reputation: 5113

Swagger is for Rest API Documentation for e.g What is the API Signature Inputs and Outputs.

Please read https://swagger.io/resources/articles/documenting-apis-with-swagger/ for further information on Swagger

JavaDoc is for documenting your Code (Java Classes and methods).

Please read http://www.drjava.org/docs/user/ch10.html for further information on JavaDoc.

Upvotes: 4

Related Questions