Git Product home page Git Product logo

Comments (2)

Mairu avatar Mairu commented on June 24, 2024

Hi, I am sorry that I have not found the time to finish the new release yet.
I was experimenting with extending the sanitizeSchema function to replace the refs with working ones.

You can see what I have tried in https://github.com/feathersjs-ecosystem/feathers-swagger/blob/wip_3.0/lib/utils.js#L76
As this is then more than sanitizing in the end I think I will rename the parameter for the final version to something like transformSchema.

So for now you can add your own sanitizeSchema function and provide it as a parameter when calling createSwaggerServiceOptions.

from feathers-swagger.

skilltryck avatar skilltryck commented on June 24, 2024

Thanks!
I will take a look at your example and try to implement that as my own sanitizeSchema function.

from feathers-swagger.

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.