Skip to content

accelleran/entrest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

entrest

Note: This is a fork of lrstanley/entrest maintained by Accelleran with additional features and improvements.

View changes from upstream

🔗 Table of Contents

✨ Features

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/OR predicates, etc).
  • ✨ Supports eager-loading edges, so you don't have to make additional calls unnecessarily.
  • ✨ Supports various forms of sorting.
  • ✨ And more!

⚙️ Usage

For general documentation, refer to the upstream documentation.

go get -u github.com/accelleran/entrest@latest

⚖️ License

MIT 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.

About

Extension that generates a compliant OpenAPI spec and server implementation

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.4%
  • Makefile 0.6%