Comments (2)
The v2 beta has been released, so you should be able to directly install it now:
$ go get github.com/danielgtaylor/huma/v2
You can check the main branch README for details and examples. More to come but please let me know if you have any initial feedback!
from huma.
It doesn't seem v2 is ready for a production setting, but if you want to try it out, you will need to replace
with a local directory. For example, clone this repo to a location on disk, check out v2, then add replace github.com/danielgtaylor/huma => /path/to/huma
to your go.mod
.
It might also be possible to use vendoring, not sure.
from huma.
Related Issues (20)
- Getting "Example cannot be created for this schema" in stoplight Response Example section. HOT 4
- Parameters description added to incorrect level HOT 3
- Panic in OnAddOperation HOT 2
- How to add versioning to my API using huma? HOT 7
- Register routes functionality with middlewares HOT 3
- Api grouping bug - /openapi.yaml request from the docs page does not consider the groups HOT 2
- huma.NewError doesn't support error wrapping. HOT 3
- Support Discriminator and DiscriminatorMap HOT 2
- Setting headers in error response HOT 6
- Add more tests for cookie HOT 3
- Add custom header from SSE Handler HOT 3
- How should nullable query params be handled without pointers? HOT 4
- Add support for netip.Addr HOT 1
- Forwarding headers through the middleware not working HOT 5
- Override ErrorModel for single operations HOT 6
- Feature: Accept valueless path/query/header/cookie tags
- Docs UI doesn't handle multiple cookies properly HOT 1
- Allow custom Transform for nested objects HOT 2
- Error thrown when setting cli name HOT 2
- Error return for huma.StreamResponse.Body HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huma.