mirror of
https://github.com/amitshekhariitbhu/go-backend-clean-architecture.git
synced 2026-04-27 05:25:51 +03:00
[GH-ISSUE #20] Open api schema validation #11
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-backend-clean-architecture#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.