2 Repos
Transformation layers that map internal data objects to public attributes for consistent API output.
Distinct from Response Formatting: Existing candidates focus on error formatting or gRPC; this is about object-to-attribute representation.
Explore 2 awesome GitHub repositories matching web development · Entity-Based Response Formatters. Refine with filters or upvote what's useful.
Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr
Implements a transformation layer to map internal Ruby objects to specific public attributes for consistent output.
This project is a REST API framework for NestJS designed to automate the creation of boilerplate-free CRUD endpoints and resource management. It functions as an automated CRUD generator that produces controllers and services for standard database operations, accelerating the development of RESTful APIs. The toolkit includes a REST query parser that translates complex URL parameters into structured database filters, pagination, and sorting rules. It also operates as an API response serializer to control the exposure of entity fields and manage nested relations within JSON responses. For extend
Transforms database entities into public API responses by mapping internal objects to specific attributes and excluding sensitive fields.