/rest-api-demo

Demo of a rest API with swagger docs

Primary LanguageJava

Rest API demo

Swagger

http://localhost:8080/swagger-ui/index.html

  1. endpoint structure follows the convention
  2. http methods (GET, POST, PUT, DELETE, PATCH)
  3. status codes
    • 200
    • 404
    • 400 (validation)
    • 500
  4. http headers (content-type)
  5. query parameters (for filtering)
  6. authentication (basic, bearer token)