Closed krisgrm closed 1 year ago
Hi, thanks for registering this issue. I'll try to replicate the issue and will get back to you asap.
Hi, the version you used was the last beta-version before the 1.0 release and was not fully validated. I was in the midst of refactoring the codebase to iron out the last deviations from the openapi 3.0 definitions. I've now released a version 1, which I validated succesfully against a openapi validator. Can you please update to v1, try again and tell me if you still experience problems? If you do, can you please send me the openapi schema?
Verified all parts referenced in your message and all comply to the official openapi spec v3.0 now.
Expected Behavior
Hello, I am using swagger plugin to generate the spec, and then I run the spec though openapi generator
Actual Behavior
I get these validation warnings:
I'll to run without the validations and see what happens in runtime
Steps to Reproduce the Problem
I run generator through docker, here is a snippet:
Specifications
Comments
Hey I've used TRPC in the past with openapi plugin.. I've also used this library https://www.npmjs.com/package/express-zod-api that is based on zod and is capable of outputing the openapi schema.
I wonder if it would be possible to use ZOD for collection&endpoints input&output validation.. and then we use that to generate the openapi. Just wondering out loud, I am not that expirienced to tell if it makes sense, but it sounds really cool