-
Notifications
You must be signed in to change notification settings - Fork 374
Adding a easier way to access to params [Question ~ Request] #345
Comments
I agree it's a lot to type. The new middleware I'm using to replace swagger-tools will not have this issue as everything is via an API: |
Oh boy, so swagger-tools are being deprecated? 😢 I'll keep an eye open to the new library then. :) Thanks! |
Deprecation is such a strong word. ;) swagger-tools is being broken up into specific modules, instead of one module containing everything (API, CLI, Middleware, ...). During this time we're taking a step back and rewriting the pieces based on all of the information we have now and releasing |
Yeah, sure, it makes sense! 👍 But it was you the first to mention the word deprecating! 😛 I would say that's a fantastic idea to separate the modules and I hope to see a great evolution of the new modules. As we're going to build an API using swagger-tools at our company I'll try to be up to date on the ongoing development and try to give a hand. :) |
Don't worry, there will be plenty of documentation on migrating from swagger-tools to whatever comes after it. |
Fantastic. Thanks @whitlockjc |
@whitlockjc what github org are the individual modules being rewritten under? Or is there a roadmap listed somewhere? I'd like to help move things forward. |
Right now here are the projects:
|
Working with swagger-tools I've found, on my opinion, that is too convoluted access to request params. I've added a manual middleware to deal with it and, so far, I'm pretty happy with the result.
My question is, how are you dealing with this? Have you found another way to easily access the params? Would it be a good idea to add something like the middleware above in order to add a better way to access the value of the params to swagger-tools? Any feedback? Thanks for your awesome work!
The text was updated successfully, but these errors were encountered: