Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Test strategy for guarded REST API endpoints #378

@MateuszNaKodach

Description

@MateuszNaKodach

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 #367 (comment)

Metadata

Metadata

Assignees

Labels

scope: 🛰 apiRequires changes in the api workspacetype: ✨ featAnother new, shiny thing we can have in our app

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions