Giter Site home page Giter Site logo

ggordon / jsonapi-swagger-blocks-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from g13ydson/jsonapi-swagger-blocks-generator

0.0 0.0 0.0 66 KB

creates swagger blocks files based on the JSONAPI::Resource

License: MIT License

Ruby 99.70% Shell 0.30%

jsonapi-swagger-blocks-generator's Introduction

JSONAPI Swagger Blocks Generator

Gem Version Maintainability Build Status

creates swagger blocks files based on the JSONAPI::Resource file http://jsonapi-resources.com/

Installation

Add this line to your application's Gemfile:

gem 'jsonapi-swagger-blocks-generator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jsonapi-swagger-blocks-generator

Usage

$ rails g jsonapi:swagger_blocks User

or specifying the namespace of the resources folder

$ rails g jsonapi:swagger_blocks User Api::V1 

Contributing

Contributing to JSONAPI Swagger blocks generator

We are following the Gitflow workflow. The active development branch is dev, the stable branch is master.

Contributions will be accepted to the dev only.

How to provide a patch for a new feature

  1. If it is a major feature, please create an Issue and discuss with the project leaders.

  2. If in step 1 you get an acknowledge from the project leaders, use the following procedure to submit a patch:

    a. Fork Fast JSONAPI Swagger blocks generator on github ( http://help.github.com/fork-a-repo/ )

    b. Create a topic branch (git checkout -b my_branch)

    c. Push to your branch (git push origin my_branch)

    d. Initiate a pull request on github ( http://help.github.com/send-pull-requests/ )

    e. Done :)

  3. Run the tests. We only take pull requests with passing tests.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the SwaggerBlocksGenerator project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

jsonapi-swagger-blocks-generator's People

Contributors

g13ydson avatar

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.