Skip to content

Comments

Created new file /RootController.java and implements the root endpoint.#11

Merged
merxgrc merged 1 commit intomainfrom
feat/root-controller
Sep 17, 2025
Merged

Created new file /RootController.java and implements the root endpoint.#11
merxgrc merged 1 commit intomainfrom
feat/root-controller

Conversation

@merxgrc
Copy link
Owner

@merxgrc merxgrc commented Sep 17, 2025

Created new file /RootController.java and implements the root endpoint.

Adds the current and planned endpoints and a welcome message: "message", "Hello World! Welcome to the Inventory API",
"endpoints", Map.of(
"items", "/items",
"getItemById", "/items/{id}",
"createItem", "POST /items",
"updateItem", "PUT /items/{id}",
"deleteItem", "DELETE /items/{id}",
"health", "/health"

closes #8

@merxgrc merxgrc merged commit 655027a into main Sep 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a root endpoint to the API

1 participant