-
I'm trying to use a JSON schema to generate a model to be used with `marshal_with`. Here's my MWE:
```python
#!/usr/bin/env python3
from flask import Flask, Blueprint
from flask_restplus import Re…
-
**Description**
I could marshall a flat object to a nested structure using the example from https://flask-restplus.readthedocs.io/en/stable/marshalling.html#complex-structures :
```
{
"id": 1,…
-
1. Parent is an empty dict:
```
>>> from flask_restplus import Namespace
>>> ns = Namespace('sample')
>>> a = ns.model('A', {})
>>> b = ns.inherit('B', a, {})
>>> b.get_parent('A')
Traceback (m…
-
Hello,
Multiple argument locations like the following
```
post_parser = reqparse.RequestParser()
post_parser.add_argument(
'sessions',
type=list,
help='List of sessions to be crea…
-
Swagger UI not generating interactive docs for resource
### **Code**
Example code for `images` endpoint
```python
import io
from flask import request, abort, send_file
from flask_restplus im…
-
I ran into an interoperability issue caused by error handling in restplus that has surfaced in the flask-jwt-extended repo (vimalloc/flask-jwt-extended#86, vimalloc/flask-jwt-extended#83) and did a li…
-
I was [reading the docs for disabling the Swagger UI endpoint](https://flask-restplus.readthedocs.io/en/stable/swagger.html#disabling-the-documentation):
> To disable Swagger UI entirely, set doc=F…
-
I have defined following circular model in my API:
```
tree_model = api.model('TreeModel', {
'node': fields.Nested(node_model)
})
tree['children'] = fields.List(fields.Nested(tree_model), default…
-
Hi,
Thanks for creating this nice package, I think it is exactly what I need for my project.
However the package seems to work only with `apispec>> import flask_restplus_marshmallow
Traceback (…
-
Hi,
In my application I would like to generate models for marshalling from JSON schema. The problem I run across is that flask-restplus does not seem to be aware of the whole JSONSchema spec. Speci…