Jérôme Lafréchoux

Results 528 comments of Jérôme Lafréchoux

Not sure that alone would solve your case but in those two lines: https://github.com/marshmallow-code/marshmallow-oneofschema/blob/master/marshmallow_oneofschema/one_of_schema.py#L98 https://github.com/marshmallow-code/marshmallow-oneofschema/blob/master/marshmallow_oneofschema/one_of_schema.py#L174 if not type_schema: could be replaced with if type_schema is None: Would you like to...

Sorry, I saw this, but didn't answer yet. While ReDoc is easy to expose, swagger-ui is more of a pain (see open issues). I'd like to find a way to...

I think you're doing it right. Grabbing a description from the docstring sounds like it could be a nice idea but honestly, I haven't had the time to give it...

I suppose you could just override `Blueprint` to change the init to pass your prefix. But it would probably appear in the spec. I'm not sure I fully understand what...

Thanks @svidela for the feedback. These are in fact apispec issues. The auto-registration feature is brand new. It is great but it has a few limitations we found acceptable. As...

> Actually, I was not calling `Api.definition` several times with the same name. I call `@api.definition('Pet')` only once but (as far as I understand) `apispec` is also auto-registering a schema...

We just realized that thanks to `Schema` auto-registration in apispec, the `schema` (formerly `definition`) decorator has become useless. In the general case, you can rely on auto-registration and don't even...

Great @svidela. Thank you for publishing your example. I'll remove the `schema` decorator (#75). May we close #27, then? A single `Api` instance still can't extend two flask apps, but...

I've been working on a simple real-life example and I came up with a minimal application using sqlalchemy. https://github.com/lafrech/flask-smorest-sqlalchemy-example Not done (are such things ever done ?) but feedback welcome...

I just updated https://github.com/lafrech/flask-smorest-sqlalchemy-example. The repo still misses CI and dependabot config.