Coder Social home page Coder Social logo

openapi-dry-validation-generator's Introduction

openapi-dry-validation-generator

๐Ÿ›  This repository is WIP. Generate dry-validation(ruby) from openapi spec file

Summary

We want to output dry-validation from the OpenAPI definition file. I want to be able to delegate the validation of the API to be implemented in Ruby to the OpenAPI definition ๐Ÿš€.

The ultimate goal is to

  • Provided as an executable file. (single binary, of course)
  • Supports all definitions involving OpenAPI validation.
  • Generate a ruby code within 1 second.

Supports

This mark(๐Ÿšซ) is an option that we do not believe can be supported by dry-validation in the first place.

Client Modification Feature

  • ๐Ÿšซ BasePath
  • ๐Ÿšซ Authorizations
  • ๐Ÿšซ UserAgent
  • ๐Ÿšซ MockServer

Data Type Feature

  • Custom
  • Int32
  • Int64
  • Float
  • Double
  • String
  • Byte
  • Boolean
  • Date
  • DateTime
  • Password
  • Uuid
  • Array
  • Null
  • AnyType
  • Object
  • Enum

Documentation Feature

  • Readme
  • model
  • Api

Global Feature

  • ๐Ÿšซ Host
  • ๐Ÿšซ BasePath
  • ๐Ÿšซ Info
  • Schemes
  • PartialSchemes
  • ExternalDocumentation
  • Examples
  • XMLStructureDefinitions
  • ๐Ÿšซ MultiServer
  • ParameterizedServer
  • ParameterStyling
  • Callbacks
  • LinkObjects

Parameter Feature

  • Path
  • Query
  • Header
  • Cookie

Schema Support Feature

  • Simple
  • Composite
  • Polymorphism
  • Union
  • allOf
  • anyOf
  • oneOf
  • not

Security Feature

  • ๐Ÿšซ BasicAuth
  • ๐Ÿšซ ApiKey
  • ๐Ÿšซ OpenIDConnect
  • ๐Ÿšซ BearerToken
  • ๐Ÿšซ OAuth2_Implicit
  • ๐Ÿšซ OAuth2_Password
  • ๐Ÿšซ OAuth2_ClientCredentials
  • ๐Ÿšซ OAuth2_AuthorizationCode

Input Format

  • JSON
  • YAML

Contributors

License

MIT

openapi-dry-validation-generator's People

Contributors

dependabot[bot] avatar ktanaka101 avatar

Stargazers

 avatar

Watchers

 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.