CodersCrew / coderscamp

Monorepo containing CodersCamp's internal application, its website, and all development resources created around them.
https://www.coderscamp.edu.pl/
GNU General Public License v3.0
6 stars 3 forks source link

Test strategy for guarded REST API endpoints #378

Closed MateuszNaKodach closed 2 years ago

MateuszNaKodach commented 2 years ago

Could you add OpenAPI documentation (for Swagger UI, yaml is /packages/api/rest-api-docs.yaml file - you can find it under /swagger endpoint while running the app) and tests validating contract for his controller? Lastly we've introduced this testing strategy. You can find example of tests in file: packages/api/src/module/write/user-registration/presentation/rest/user-registration.rest-controller.spec.ts

_Originally posted by @nowakprojects in https://github.com/CodersCrew/coderscamp/pull/367#discussion_r712851590_

github-actions[bot] commented 2 years ago

Branch issue-378-Test_strategy_for_guarded_REST_API_endpoints created!