Replies: 1 comment 1 reply
-
| 
         Hi, there are three tools mentioned in the Hono documentation: 
  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋
I've had a quick look at hono and it seems like a decent expressjs replacement, but I'm wondering if it would be possible to auto-generate openapi spec. For the request of course it has to be defined by a zod schema for example, but for the response I would like to infer the schema based on the TypeScript return typing of the handler function. Has anyone tried this before with hono or some other solution? Are there any ready to use solutions? I've done some auto generation of openapi based on typescript return types before, but it was far from good and I'm trying to find something more widespread and if not available then maybe think about building something like this that is also pretty simple.
All suggestions welcome.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions