Comments (8)
Any updates on this issue? I am considering working on this as a hackweek project next week, curious if anyone has put any more thought or time into it in the past few months.
In addition to the null values Julius mentioned, I am excited to add support for OneOf as well, as we discussed a while back here: #48 (comment).
from flask-rebar.
There's definitely interest.
OpenAPI v3 is still relatively new, and community tooling hasn't quite caught up yet (e.g. https://github.com/swagger-api/swagger-codegen). PlanGrid chose to stick with v2 for this reason, and there hasn't been a call to create SwaggerV3Generator yet - this would be that first call!
Is support for v3 a requirement for you? Or are you just curious about goals?
Also... I can take a swing at SwaggerV3Generator, but it might take me some time. Any interest in contributing?
from flask-rebar.
We are currently using version 2, but in the coming months intend to evaluate updating to 3 along with looking at https://github.com/OpenAPITools/openapi-generator, the Swagger Codegen fork that also supports OAI 3. Good to see there may be interest in accepting this as an external contribution. Not sure what we'll end up doing but will definitely keep that in mind.
from flask-rebar.
+1 for support for this. Swagger2's lack of allowing null values would be nice. We've noticed we need to dumb down schemas a bit because of that.
from flask-rebar.
Yeah, this is inevitable and increasingly important.
I've been meaning to hop on this, but haven't had time.
If anyone else wants to handle this change... 😬
from flask-rebar.
I haven’t put in any additional thought/time.
This would be a fantastic contribution! I tried my best to write the existing code in preparation for this, but who knows what will happen.
I’m happy to lend some initial thoughts, maybe a walkthrough the relevant code, if you’re interested.
from flask-rebar.
We can close this one @RookieRick
from flask-rebar.
🎉
from flask-rebar.
Related Issues (20)
- Remove things marked as deprecated with 2.0 as EOL
- dump_only=True regression in latest Flask-Rebar v2 release candidate HOT 3
- v2 Regression: DisallowExtraFieldsMixin broken HOT 3
- Rebar can generate invalid OpenAPI specs: non-unique operationId's
- Feature: Add SchemaOpts to opt-in to validation
- Fix CI build badge
- Support for Python 3.10 HOT 4
- AttributeError: 'AuthenticatorConverterRegistry' object has no attribute 'get_security_schemes_legacy' HOT 5
- Better support for OpenAPI OneOf HOT 1
- marshmallow-to-swagger RecursionError if schema has self references HOT 1
- BUG: DEPRECATED WERKZEUG METHOD HOT 4
- filter_dump_only crashes with fields that have data_key HOT 2
- prefixes with periods (".") cause flask's blueprint to complain that blueprint names can't have a period in them HOT 4
- Flask signals not triggered on unhandled exceptions
- Swagger: How to add title and description? HOT 1
- Support for binary / file types HOT 1
- Multiple schemas resolved to the same name HOT 1
- `compat.dump` raises ValidationError when nullable Nested fields (with required subfields) without dump_only of a ResponseSchema are None HOT 2
- Add dictionary value schema definition in Swagger spec
- Support Quart.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-rebar.