sharkio-dev / sharkio

Sharkio is an API proxy for your development environments. It records all the requests that are sent to your API. It allows you to replay the requests easily. Generate types, documentation, test suites, And interact with your API using AI.
https://sharkio.dev/
MIT License
5 stars 1 forks source link

feat: Add flag control for enabling mocks #383

Closed shravan20 closed 8 months ago

shravan20 commented 9 months ago

Description

This PR deals with resolving the issue in hand https://github.com/sharkio-dev/sharkio/issues/359 to add flag control to enable/disable mocks at the sniffer level.

Checklist

Please make sure you've done the following before submitting this pull request:

shravan20 commented 9 months ago

@ypotter: Some of the file changes are purely linter/prettier changes. Previously few snippets were not following the setup format, hence it was fixed in the current PR by pre-commit hook.