-
-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not override SimpleFormatter::format to use processCollection #668
Conversation
Parse JSM\Inline, fixes nelmio#372
Sometimes instead real class name we can use custom handler name. Then this class can't be initialized and we will get this exception ```ReflectionException: Class custom_handler_name does not exist```
Don't parse custom properties as classes.
Add abstract="true" to abstract_formatter in container definition
Fix an error when trying to use embedded form collections. Referenced issue: nelmio#442
Update branch-alias
Fix toggler click event
Fix embedded collection of custom FormType Error
fixed css for tags output
Add Bearer authentication
Unified data types [actualType and subType] Updated tests. JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum. Modified dataType checking. Updated tests. Updated DataTypes enum. Quick fix and added doc comments. CS fixes. Refactored FormTypeParser to produce nested parameters. Updated tests accordingly. Logical and CS fixes. Sub-forms and more tests. Logical and CS fixes. Swagger support: created formatter. Configuration and resourcePath logic update. ApiDoc annotation update. Updated formatter and added tests. Parameter formatting. Added tests for SwaggerFormatter. Added option in annotation, and the corresponding logic for parsing the supplied values and processing them in the formatter. Routing update. Updated tests. Removed unused dependency and updated doc comments. Renamed 'responseModels' to 'responseMap' Update the resource filtering and formatting of response messages. Updated check for 200 response model. Ignore data_class and always use form-type to avoid conflicts. Fix: add 'type' even if '' is specified. Refactored responseMap; added parsedResponseMap. Added tests and updated some. Fix: add 'type' even if '' is specified. Initial commit of command. Finished logic for dumping files. Updated doc comment; added license and added more meaningful class comment. Array of models support.
Unified data types [actualType and subType] Updated tests. JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum. Modified dataType checking. Updated tests. Updated DataTypes enum. Quick fix and added doc comments. CS fixes. Refactored FormTypeParser to produce nested parameters. Updated tests accordingly. Logical and CS fixes. Sub-forms and more tests. Logical and CS fixes. Swagger support: created formatter. Configuration and resourcePath logic update. ApiDoc annotation update. Updated formatter and added tests. Parameter formatting. Added tests for SwaggerFormatter. Added option in annotation, and the corresponding logic for parsing the supplied values and processing them in the formatter. Routing update. Updated tests. Removed unused dependency and updated doc comments. Renamed 'responseModels' to 'responseMap' Update the resource filtering and formatting of response messages. Updated check for 200 response model. Ignore data_class and always use form-type to avoid conflicts. Fix: add 'type' even if '' is specified. Refactored responseMap; added parsedResponseMap. Added tests and updated some. Fix: add 'type' even if '' is specified. Initial commit of command. Finished logic for dumping files. Updated doc comment; added license and added more meaningful class comment. Array of models support.
Swagger support
98dd391
to
6d423f3
Compare
@willdurand done. |
Looks like it broke several tests. |
Sigh, was not. :-( I'll take a look later. |
Add question/answer from nelmio#727
Support Symfony 2.8+
…les in sandbox - fixes nelmio#501
definitions in the hierarchy
[ISSUE-739] ApiDoc parameters setting will override lower parameter definitions in the hierarchy
6d423f3
to
e27607c
Compare
@willdurand Should be OK now. 👍 |
@willdurand I don't understand the failures, I can't reproduce it on local... |
ping @willdurand. Any idea? |
I'll give it a try. I'd like to ship |
changed the milestone to get symfony 3.0 support first. |
Hey @willdurand! What should we do for this PR now? :-) |
@GuilhemN Well, maybe could you please give some details of why you closed this PR? Thanks. |
Github closed it automatically because I changed the master branch. |
Fixes #667.
In a nutshell, format methods are not overriden anymore to take profit of
processCollection
method.Rendering method just returns the data output.
Not sur if it's the good way but works and solve my issue.
Feel free for remarks and suggestions.