Peter Doggart
Peter Doggart
The `swagger-ui-dist` files are bundled inside the `flask-restx` version that is published on PyPi. The target version of `swagger-ui-dist` is detailed in the top level `packages.json` and [installed during build](https://github.com/python-restx/flask-restx/blob/master/.github/workflows/release.yml)...
In `flask-restx` choices is _dumb_ in the sense it only compares like for like exactly. In your instance, it doesn't work because your choices aren't valid lists, which is the...
SwaggerUI is not currently configurable from within flask-restx but you can use the `@api.documentation` decorator to override the default behaviour easily to render your own custom templates and therefore set...
@nskley It's something that has been talked about before. Unfortunately, it's not a small change due to how the schemas are generated, but it would be possible. My question is,...
Unfortunately, I don't think there is any easy way around the circular import. The namespace decorators are almost designed to be in the same file as the Resource classes. I...
From your stack trace it looks like you are getting a HTTP 308 response (permanent redirect) to `http://localhost:6666/before/after` rather than a 500 error. I get a HTTP 308 using werkzeug...
Can you move the wildcard definition outside of the model and see if that makes any difference? [From the docs](https://flask-restx.readthedocs.io/en/latest/marshalling.html#wildcard-field): > It is important you define your [Wildcard](https://flask-restx.readthedocs.io/en/latest/api.html#flask_restx.fields.Wildcard) outside your...
Hi @hjmallon When you say meant to support headers, can you point to where this is documented? Having trouble finding it!
I don't think this is currently possible. If you have a look at the code for the [flask-restx resource class, ](https://github.com/python-restx/flask-restx/blob/master/flask_restx/resource.py) it matches method names against the incoming HTTP `request.method`....
The Request parser is unlikely to be removed, so I would continue to use it - I do in my projects. The warning was put in when the library was...