Skip to content

Implement validation 422 and faker extensions - #2

Draft
thim81 wants to merge 1 commit into
feat/remove-proxy-logicfrom
feat/create-golang-mock-server-based-on-prism-features
Draft

Implement validation 422 and faker extensions#2
thim81 wants to merge 1 commit into
feat/remove-proxy-logicfrom
feat/create-golang-mock-server-based-on-prism-features

Conversation

@thim81

@thim81 thim81 commented Jul 26, 2025

Copy link
Copy Markdown
Owner

Summary

  • return 422 Unprocessable Entity when request validation fails (unless 400 is defined)
  • honor x-json-schema-faker.fillProperties setting from the spec
  • use x-faker hints with gofakeit and fallback to schema-based generation

Testing

  • go build ./...

https://chatgpt.com/codex/tasks/task_e_6883d43872888321a6005fb0c0d4eb5f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant