SSWConsulting / SSW.CleanArchitecture

SSW Clean Architecture Template
https://sswconsulting.github.io/SSW.CleanArchitecture/
MIT License
124 stars 23 forks source link

✨ Complete CRUD operations for Heroes and Teams #354

Open jernejk opened 4 months ago

jernejk commented 4 months ago

Cc:

Hi,

Pain

When I navigate to /swagger, there are missing CRUD operations like deleting a hero/team and fetching individual hero. This could also be an interesting way to demonstrate soft-delete feature.

Suggested Solution

Add missing endpoints and their implementation.

Acceptance Criteria

Acceptance Criteria defines the requirements that must be met for the story to be completed. This is WHAT must be done.

See https://www.ssw.com.au/rules/acceptance-criteria.

  1. Have full CRUD operations for heroes and teams

Tasks

Tasks help developers to track small bits of work needed to meet the ACs. This is HOW the work will be done.

- [ ] Add `GET /api/heroes/{heroId}`
- [ ] Add `DELETE /api/heroes/{heroId}`
- [ ] Add `DELETE /api/teams/{heroId}`

Thanks!

danielmackay commented 3 weeks ago

There are extra API's that still all need to be added