Skip to content

[1] feat: add response validation support #52

Description

@romanindev

Introduce response validation to ensure safe and predictable integrations.

Support:

  • schema-based validation (initially generic interface)
  • custom validation function
  • validation executed after response parsing

Config example:

client.get('/users', {
  responseSchema: schema
})

or

client.get('/users', {
  validate: (data) => { ... }
})

Acceptance criteria

  • validation runs after parsing
  • validation can throw structured error
  • validation can be optional per request

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions