GithubHelp home page GithubHelp logo

ninjayoto / zally Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zalando/zally

0.0 2.0 0.0 7.23 MB

A minimalistic, simple-to-use API linter

Home Page: https://zalando.github.io/zally

License: MIT License

Shell 0.51% Go 10.24% Dockerfile 0.12% Kotlin 72.46% HTML 0.85% JavaScript 15.43% CSS 0.39%

zally's Introduction

Build Status Codacy Badge Codacy Badge

Zally: A minimalistic, simple-to-use API linter

... for OpenAPI 3 and Swagger 2 API specifications.

Its standard configuration will check your APIs against the rules defined in Zalando's RESTful Guidelines, but anyone can use it out-of-the-box.

Zally's easy-to-use CLI uses the server in the background so that you can check your API on the spot. It also features an intuitive Web UI that shows implemented rules and lints external files and (with its online editor) API definitions.

More about Zally:

  • OpenAPI-friendly: accepts OpenAPI 3 and Swagger Specifications .yaml and JSON formats; includes a server that lints your OpenAPI files; and parses OpenAPI files using swagger-parser
  • Using x-zally-ignore extension in your API definition, you can disable rules for a specific API
  • Applying rule changes is only necessary in the server component
  • API-specific code written in Java 8 with Spring Boot for better integration
  • Rule implementation is optimal/possible in Kotlin

Technical Dependencies

  • Kotlin and Java 8 (server) with Spring Boot
  • Golang 1.7+: for CLI
  • Node.js 7.6+: for web UI

Installation and Usage

To give Zally a quick try, first run the server locally and then use the CLI tool.

The Server Readme, CLI Readme and Web UI Readme include more detailed installation steps for each component.

Quick start guide

You can build and run the whole Zally stack (web-ui, server and database) by executing this script:

./build-and-run.sh

Web UI is accessible on http://localhost:8080; Zally server on http://localhost:8000

To run zally with github integration:

export GITHUB_OAUTH_TOKEN=your_github_oauth_token
export GITHUB_SECRET=your_github_secret

./build-and-run.sh --bark

Github webhook endpoint is accessible on http://localhost:8081/github_webhook

More details about how to register Webhooks.

Contributing

Zally welcomes contributions from the open source community. To get started, take a look at our contributing guidelines. Then check our Project Board and Issues Tracker for ideas.

Roadmap

For Zally version 1.5, we're focusing on:

  • Making Zally easier to extend and adjust to custom guidelines and rules
  • Better integration testing approaches
  • Making further rules compatible with OpenAPI 3
  • Providing more utilities for check developers
  • Improving check execution process
  • Provide high-quality documentation for check developers, operators and users

If you have ideas for these items, please let us know.

Contact

Feel free to contact one the maintainers.

License

MIT license with an exception. See license file.

zally's People

Contributors

netme avatar maxim-tschumak avatar roxspring avatar fmueller avatar rbarilani avatar mkulak avatar superbenji avatar tkrop avatar thomasabraham avatar akryvko avatar vadeg avatar bhaskarmelkani avatar maschleg avatar nagogus avatar ishishov avatar mfellner avatar cjhowald avatar ruiaraujo avatar nehalium avatar kingslef avatar eduardoac avatar innokenty avatar earth2marsh avatar duergner avatar xpepper avatar s0k0 avatar tobias-bahls avatar yogendra0sharma avatar

Watchers

James Cloos avatar  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.