Commit graph

5 commits

Author SHA1 Message Date
45dff673f8 Fix todo route paths and simplify delete logic
Added leading slashes to todo route paths. Updated the Created result path in the POST endpoint. Simplified the DELETE endpoint logic by inverting the not-found check and reducing nesting.
2025-12-06 21:13:37 -05:00
60713c20e2 Refactor todo API endpoints and constants
Introduced constants for API name, version, and todo route. Refactored todo endpoints to use appropriate HTTP methods (GET, POST, PUT, DELETE) and updated route paths for clarity and RESTful design. Removed duplicate and incorrect endpoint mappings.
2025-11-29 13:15:58 -05:00
725d4bdeaf Update Swagger UI paths and add POST /todo endpoint
Changed Swagger UI configuration paths for improved clarity and consistency. Added a new POST /todo endpoint to allow creation of Todo items in the database.
2025-11-27 12:28:19 -05:00
dc4af28f97 Add Swagger/OpenAPI support for BarkAPI
Integrated OpenAPI and Swagger UI for BarkAPI, including endpoint documentation and UI configuration for development environment. This will enhance API discoverability and testing during development.
2025-11-27 12:22:42 -05:00
3c43ce2f71 Initial source commit 🎉
Set up a new ASP.NET Core Web API project targeting .NET 10.0. Added basic Todo model, in-memory database context, and CRUD endpoints for Todo items based on tutorial. Included configuration files, launch settings, and .gitignore for Visual Studio and JetBrains IDEs.
2025-11-27 12:15:50 -05:00