Skip to content

feat: Validate request option in Mock mode #2696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thim81
Copy link

@thim81 thim81 commented Apr 22, 2025

Addresses #2695

Summary

Replace this with something that explains what this PR is for and why it matters.

Checklist

  • The basics
    • I tested these changes manually in my local or dev environment
  • Tests
    • Added or updated
    • N/A
  • Event Tracking
    • I added event tracking and followed the event tracking guidelines
    • N/A
  • Error Reporting
    • I reported errors and followed the error reporting guidelines
    • N/A

Screenshots

BEFORE

yarn cli mock ../../examples/museum.openapi.yaml

IMG 2025-04-22 at 11 03 47@2x

IMG 2025-04-22 at 11 01 34@2x

AFTER

yarn cli mock ../../examples/museum.openapi.yaml --validate-request=false

IMG 2025-04-22 at 11 03 13@2x

IMG 2025-04-22 at 11 02 38@2x

@thim81 thim81 requested a review from a team as a code owner April 22, 2025 09:04
@thim81 thim81 changed the title 2695 mock validate request feat: Validate request option in Mock mode Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant