maciejwitwicki / rest-api-demo

Demo of a rest API with swagger docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Demo of a rest API with swagger docs


Languages

Language:Java 100.0%