API reference

Service API documentation

Each business service exposes its own OpenAPI spec at /v3/api-docs and a Swagger UI at /swagger-ui.html. Use the Authorize button with a Bearer JWT to call protected endpoints directly from the browser.

auth-service:8081

Operator login, registration, JWT issuance

carrier-service:8082

CRUD for shipping carriers

container-service:8083

CRUD + status workflow for containers

yard-service:8084

Yard slots and check-in/release workflow

gate-service:8085

Truck check-in / check-out transactions

Authorizing requests in Swagger

  1. POST /api/auth/login with {email,password}
  2. Copy the returned JWT from the response body
  3. Open any service's Swagger UI, click Authorize, paste the token
  4. All subsequent calls from Swagger UI carry the Bearer token โ€” no JWT filter on those direct ports
Specs generated by springdoc-openapi 2.5.0 ยท OpenAPI 3.0