Code Monkey home page Code Monkey logo

Comments (5)

OpakAlex avatar OpakAlex commented on August 21, 2024

@romankuznietsov can you check?

from bureaucrat.

kirillplatonov avatar kirillplatonov commented on August 21, 2024

I think it will be amazing feature. It's very handy to use swagger as API documentation. I used it for a long time with ruby's grape gem. If you need some help - let me know, I will be glad to help.

from bureaucrat.

romankuznietsov avatar romankuznietsov commented on August 21, 2024

@mbuhot This feature will definitely be useful. It would be great if you submit your implementation as a PR. Thanks in advance!

from bureaucrat.

mbuhot avatar mbuhot commented on August 21, 2024

@romankuznietsov #10 has the implementation of the custom markdown writer.
It's a bit tricky to demonstrate without an accompanying test phoenix project for bureaucrat, but you can see the swagger file and markdown output.

from bureaucrat.

mbuhot avatar mbuhot commented on August 21, 2024

Thanks to @OpakAlex for reviewing the PR.
With that as a starting point, is it in line with how you want to integrate swagger with bureaucrat?

@kirillplatonov: If you have a swagger spec for an existing phoenix app, you could try it out against the SwaggerSlateMarkdownFormatter to see if it works with it.
I've also been working on improving phoenix_swagger to generate swagger from a DSL in controller modules.

from bureaucrat.

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.