Commit a7550b3
Mock validation (#204)
* Implement mock definition validation and enhance error handling
* Refactor mappingCreateHandler to validate mock definition directly
* Add request path validation to Definition struct
* Fix Validate method receiver type
Change from pointer receiver to value receiver to fix compilation error
in mapping.go where mock.Validate() is called on a value type.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 9ab45e1 commit a7550b3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
0 commit comments