[GH-ISSUE #20] Open api schema validation #11

Open
opened 2026-03-01 14:36:48 +03:00 by kerem · 0 comments
Owner

Originally created by @Fimeo on GitHub (Sep 4, 2024).
Original GitHub issue: https://github.com/amitshekhariitbhu/go-backend-clean-architecture/issues/20

On the backend projects I've worked on, I always use a schema validator to check input payloads, parameters and document my api.

Using the postam provided, and adding additional format constraints on the parameters, we can create a first layer of automatic validation with the https://github.com/getkin/kin-openapi package.

Originally created by @Fimeo on GitHub (Sep 4, 2024). Original GitHub issue: https://github.com/amitshekhariitbhu/go-backend-clean-architecture/issues/20 On the backend projects I've worked on, I always use a schema validator to check input payloads, parameters and document my api. Using the postam provided, and adding additional format constraints on the parameters, we can create a first layer of automatic validation with the https://github.com/getkin/kin-openapi package.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-backend-clean-architecture#11
No description provided.