Coder Social home page Coder Social logo

notjustatoy / falcon-heavy Goto Github PK

View Code? Open in Web Editor NEW
22.0 3.0 1.0 190 KB

The framework for building app backends and microservices by specification-first API design approach based on the OpenAPI Specification 3

License: Apache License 2.0

Python 100.00%
openapi3 swagger specification-first django falcon-framework flask python3 oas3

falcon-heavy's People

Contributors

notjustatoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dangerink

falcon-heavy's Issues

Can I get some sample code showing how to use this with a Flask app?

I have built an API with Flask, Flask-Restful, and OpenAPI 3.0 (formerly Swagger). The problem I'm facing is validating incoming requests against the spec.

So far I have tried Flasgger and Connexion, which both work with the Flask framework. However, Flasgger's OAS3 support isn't complete and fails to validate any incoming data. And while Connexion's OAS3 support is broader, it still fails to validate more complex scenerios, such as conditional parameters using the newly-introduced oneOf and allOf properties of the latest OAS spec.

Hence, why I'm looking for a package that can provide more reliable results. That's where I found this repository through a few StackOverflow answers (example) and listed on the OpenAPI.Tools site.

The only problem is I don't see any sort of documentation on where to begin utilizing this tool. I would like to add decorators to my flask-restful Resource classes that directly map to each API verb (ie get, put, post, patch) and correspond to the Flask routes. Can you possibly add some documentation on how to accomplish this?

Add Examples

Please add a few example projects that show this framework can be employed.
A web service that manages TODOs/notes is a common type of example.

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.