Jérôme Lafréchoux

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

Nice. I wasn't that clever in my own app: I patched the generated documentation dict...

The refactor is achieved in 4.0. This issue should now be addressable in a non-breaking way in a 4.x version. I can't do it right now so let's not block...

It should be easier now. It happens in `_field2parameter`. Currently, the `List` case is hardcoded. We shall make this more generic with a mechanism allowing to register field class specific...

@pmdarrow Here's a draft solving this: #778. It allows a user to add a function to manage `DelimitedList`.

For instance, https://github.com/marshmallow-code/apispec/commit/3556849f815d42e28f84ee60cc518af00c988cc1 added the possibility to pass parameters a while ago. We'd need to either do the same with each component type (response, security, etc.), or create a single...

Currently, existing methods are - `definition` - `add_parameter` It would be nice to have consistent naming. Should it be - `definition`, `parameter`,... - `add_definition`, `add_parameter`,... - `register_definition`, `register_parameter`,... Or a...

#305 proposes another approach: use a `Components` class to hold those components. I'm not convinced it is the best approach. I found in nicer when I did it, but I...

Removing 1.0 milestone as the breaking part was achieved in https://github.com/marshmallow-code/apispec/pull/305. We can now add other [components](https://swagger.io/docs/specification/components/) using the same mechanism. Anyone willing to contribute can easily add methods to...

List of components - [x] schemas - [x] parameters - [x] securitySchemes - [ ] requestBodies - [x] responses - [x] headers - [x] examples - [ ] links -...

You ought to write a custom field2properties functions. https://apispec.readthedocs.io/en/latest/using_plugins.html?highlight=add_attribute_function#custom-fields You may share it here if you do so.