Git Product home page Git Product logo

Comments (3)

JamesMessinger avatar JamesMessinger commented on June 18, 2024 1

There's a lot of work going on behind the scenes. Doing some big refactoring of the underlying projects that Swagger Express Middleware relies on. I have a day job too though, so my time is limited to nights and weekends, but I assure you that I'm just as eager for new features.

from swagger-express-middleware.

JamesMessinger avatar JamesMessinger commented on June 18, 2024

Sorry for the delayed response. I've been away on holiday for a few weeks.

This feature is definitely on the to-do list. It probably won't be in version 1.0, but hopefully will come soon thereafter. It's little bit tricky, because Express only has request middleware. It doesn't really have a concept of "response middleware", so intercepting the response and validating it against the Swagger response schema isn't totally straightforward. There are a couple ways that I can think of to do it, but they both have pros and cons that will need to be considered.

from swagger-express-middleware.

mattfysh avatar mattfysh commented on June 18, 2024

+1 - this feature would be great! have not seen a lot of activity on this project in a while though. Has it been abandoned/superseded?

from swagger-express-middleware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.