Skip to content

test(openapi): GET /v1/customer/search 200 envelope shape is unpinned #360

@CryptoJones

Description

@CryptoJones

The OpenAPI spec declares the full envelope for /v1/customer/search (message, q, companyId, count, limit, offset, customers: Customer[]) but tests/api/openapi.test.js has no assertion pinning the shape. A future "cleanup" that drops a field from the spec would silently regress SDK code-gen output.

Fix: pin the seven properties + the Customer items $ref.

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions