Skip to content
#

marshmallow

Here are 173 public repositories matching this topic...

rochacbruno
rochacbruno commented Mar 11, 2020

Copied from #103

I've resolved the issue of authentication using the next code:
swagger_template = { ..., 'securityDefinitions': { 'basicAuth': { 'type': 'basic' } }, ... }
app = Flask(__name__)
Swagger(app, config=config[config_name].swagger_config, template=swagger_template)

![image](https://use

taoweibang
taoweibang commented Apr 9, 2019
$ curl 'http://127.0.0.1:5000/auth/oauth2/token?grant_type=client_credentials' --user 'documentation:KQ()SWK)SQK)QWSKQW(SKQ)S(QWSQW(SJ*HQ&HQW*SQ*^SSQWSGQSG'
{"access_token": "lYoijoYaTgXZi1bLQTs4PuItKsNHNY", "token_type": "Bearer", "expires_in": 3600, "scope": "users:write teams:write auth:write users:read auth:read teams:read"}

Grab the above access_token and access protected resour

williamjulianvicary
williamjulianvicary commented Jul 29, 2019

Firstly, thank you for the great extension!!

I've ran into an error that I'm sure others will have ran into, it may be worth updating the docs with a warning about it.

Our structure was as follows:

  • Each model has it's own module
  • Each model module also contains a Schema and Manager for example UserModel, UserSchema, UserManager all defined within /models/user.py

Some background - w

Improve this page

Add a description, image, and links to the marshmallow topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the marshmallow topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.