HAP v2 - a declarative HTTP framework for rapid API service development
pkg.go.dev·2h
Flag this post

HAP

This package implements a declarative HTTP framework for rapid API service development. Key features include:

Code-as-Specification: API definitions serve as documentation specifications. The framework automatically generates API documentation directly from code-based endpoint declarations. 1.

Layered Processing Isolation: Separation of concerns between parameter validation and business logic, with framework-enforced validation pipeline definition and execution. 1.

Composable Processing Pipelines: Both parameter handling and business logic support multi-stage function composition, with explicit streamlined processing rules. 1.

Standard Library Foundation: Native integration with Go’s net/http package allows direct use of core primitives like Request an…

Similar Posts

Loading similar posts...