Skip to content

Add contract-level tests for route payload schemas #575

Description

@gelluisaac

Title

Add contract-level tests for route payload schemas

Summary

Testing / quality-engineering gap to close.

Context

Traqora is a decentralized travel-booking platform built on the Stellar ecosystem: Soroban smart contracts handle booking, refunds, disputes and loyalty, with a Node/Express backend and a React client. This is a contributor-friendly task for the community. Please ask in the discussion before starting and reference this issue in your PR.

Task

Assert that API request/response payloads match the documented schema (OpenAPI) for the main booking, refund, and auth routes.

Suggested files / areas

packages/backend/src/api/schemas, packages/backend/src/api/openapi

Acceptance Criteria

  • Tests are added and pass in CI
  • Edge cases covered
  • No decrease in existing coverage

Difficulty: Medium

This issue is ideal for a first-time contributor. Comment to claim it and maintainers will assign you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions