Note: This is a fork of lrstanley/entrest maintained by Accelleran with additional features and improvements.
entrest is an EntGo extension for generating compliant OpenAPI specs and an HTTP handler implementation that matches that spec. It expands upon the approach used by entoas, with additional functionality, and pairs the generated specification with a fully-functional HTTP handler implementation.
- ✨ Generates OpenAPI specs for your EntGo schema.
- ✨ Generates a fully functional HTTP handler implementation that matches the OpenAPI spec.
- ✨ Supports automatic pagination (where applicable).
- ✨ Supports advanced filtering (using query parameters,
AND/ORpredicates, etc). - ✨ Supports eager-loading edges, so you don't have to make additional calls unnecessarily.
- ✨ Supports various forms of sorting.
- ✨ And more!
For general documentation, refer to the upstream documentation.
go get -u github.com/accelleran/entrest@latestMIT License
Copyright (c) 2024 Liam Stanley [email protected]
This fork maintained by Accelleran includes modifications and additional features while preserving the original MIT license.
See LICENSE for full license text.