Skip to content

precision-sustainable-ag/simple-route

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-route

Creating OpenAPI routes with Swagger can be tedious. Each route requires a full schema definition, with query parameters, validation, and response objects.

This package introduces a helper function simpleRoute(), which eliminates most of that boilerplate, making routes shorter, clearer, and less error-prone.

Full documentation at https://precision-sustainable-ag.atlassian.net/wiki/spaces/AFA/pages/1313669127/Automating+Fastify+OpenAPI+Schemas

Date Created: 10/13/2025

Date Last Modified: 10/15/2025

About

Automating boilerplate for Fastify + Swagger + Redoc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors