139 Commits

Author SHA1 Message Date
Ilyas Salikhov
e06fb926f5 Fix code by php-cs-fixer 2024-10-01 15:54:04 +03:00
Ilyas Salikhov
6334d2e40f Removed support of sensio/framework-extra-bundle 2024-09-30 21:23:38 +03:00
Ilyas Salikhov
5cbcba78df Symfony 6 compability 2024-06-18 12:54:58 +03:00
Ilyas Salikhov
b603381139 1. Up min PHP version to 8.1
2. Up min Symfony verion to 5.0. Adopt code to sf 5.0+
3. Local env to run tests
4. Repare tests
2024-06-18 12:24:32 +03:00
Vitaliy Chesnokov
1c4f003e76
Doc generation for the specific API version 2019-04-25 21:50:28 +03:00
Denys Pasishnyi
1256275185 #502 Test for the improvement 2016-06-13 00:30:40 +02:00
William Durand
2a0f95eac0 Merge pull request #792 from rodrigm/master
Fix #565
2016-02-24 19:00:28 +01:00
Rodrigo Gómez
89f459dc07 Fix #565
Change PUT by PATCH

Refactor tests for #565
2016-02-24 17:57:22 +01:00
William Durand
65a5159ce9 Merge pull request #796 from zhukovra/master-array-requirements
Fix Array to string conversion error on array requirements
2016-02-24 17:47:14 +01:00
Kévin Dunglas
abb100b29b Handle circular references in DunglasApiParser. Close #678. 2016-02-04 08:34:34 +01:00
Zhukov Roman
f2fc6b47c0 Fix Array to string conversion error on array requirements
Fixes #564
2016-02-01 14:33:17 +03:00
Damien Alexandre
306f2c47cf Fix Array to string conversion error on array requirements
Fix https://github.com/nelmio/NelmioApiDocBundle/issues/773
See https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1015
2016-01-08 13:04:25 +01:00
Ener-Getick
24fa5dfbc0 Fix a deprecation 2015-12-08 13:06:38 +01:00
William Durand
d5395cc0ea
Fix CS 2015-12-04 09:15:21 +01:00
Ener-Getick
67b7b46627 Add symfony 3.0 support 2015-12-02 16:19:12 +01:00
Piotr Antosik
dd8bdd2070 Fix route host with placeholder 2015-11-23 00:18:50 +01:00
William Durand
4fad200d7b Merge pull request #758 from dunglas/master
Fix tests related to DunglasApiBundle
2015-11-22 08:22:33 +01:00
Kévin Dunglas
224af02f7f Fix tests related to DunglasApiBundle 2015-11-21 18:36:13 +01:00
Piotr Antosik
3dea122b98 fix comment in tests 2015-11-10 01:28:40 +01:00
William Durand
be90e8aad6 Merge pull request #740 from fstr/master
[ISSUE-739] ApiDoc parameters setting will override lower parameter definitions in the hierarchy
2015-10-28 10:30:40 +01:00
Florian Strübe
e2d2e41f7b [ISSUE-739] ApiDoc parameters setting will override lower parameter
definitions in the hierarchy
2015-10-28 10:13:24 +01:00
William Durand
9df40af264
Support Symfony 2.8+
Fix #738
2015-10-27 17:15:32 +01:00
William Durand
716f3f19de
fix test suite by disabling a broken feature 2015-10-22 22:46:25 +02:00
Sullivan SENECHAL
32de80f97f
Fix deprecated route options 2015-10-22 14:42:16 +02:00
Fred Cox
37c6465700 Add a parser for jsonSerializable classes 2015-07-01 14:04:38 +03:00
William Durand
c7909c576e Merge pull request #641 from Soullivaneuh/configure-options
Fix deprecated FormType::setDefaultOptions usage
2015-06-11 13:51:25 +02:00
Baptiste Lafontaine
213dbdfd1c Handle "array" parameter in FOSRestBundle QueryParam or RequestParam 2015-06-08 08:43:38 +02:00
Sullivan SENECHAL
f5b45607c6 Fix deprecated FormType::setDefaultOptions usage 2015-06-05 09:34:11 +02:00
William Durand
c71fa155d5
Introduce the concept of 'views'
Rewrite #619
2015-05-16 12:17:59 +02:00
William Durand
94ba751848
fix CS 2015-05-15 17:42:03 +02:00
William Durand
f601dc17fb
Merge branch 'Nyholm-issue-404' 2015-05-15 17:41:37 +02:00
Joshua Thijssen
6052643b9f
Initial setup on a multi-api documentation 2015-05-15 17:41:22 +02:00
Stéphane Reuille
dc20b249e7 fix memory limit issue wirh entity list
Allow to disable mapping of entity list to avoid memory limit error on long list
2015-05-13 14:51:15 +02:00
Kévin Dunglas
79c1c4e4f4 Enhanced DunglasApiBundle support 2015-04-29 09:11:54 +02:00
Kévin Dunglas
adc03ba26d DunglasJsonLdApiBundle support 2015-03-20 09:53:48 +01:00
William Durand
0a1cef77ad
cs 2015-03-06 11:19:08 +01:00
Damien Alexandre
a939fef59b Fix the PhpDoc Handler for @link annotation and add tests 2014-12-12 16:13:55 +01:00
Bez Hermoso
859421df9a Form errors parser. Mirrored actual form-errors response by FOSRest. Made sure that FieldErrors is not duplicated. 2014-10-10 11:59:19 -07:00
lucasvanlierop
b4a6825db7 Fixed tests by adding separate form type 2014-09-30 13:54:30 +02:00
lucasvanlierop
f625d9671c Fixed disabling required for HTTP PUT requests 2014-09-29 16:49:25 +02:00
Bez Hermoso
5fa69a0504 Tests for aliased collections; Swagger formatting for wrapped collections. 2014-09-04 11:19:54 -07:00
Bez Hermoso
f5c1b06807 Support for collections. 2014-09-04 10:47:57 -07:00
Loick Piera
16b104edec Added support for Security annotation 2014-08-28 00:12:34 +02:00
Samuel ROZE
3e3ef87b79 Added nested JMS groups exclusion 2014-08-18 11:32:36 +02:00
Bez Hermoso
b7f5fb58d4 Added definition when is provided. 2014-08-04 10:58:41 -07:00
Bez Hermoso
cc0d445601 Added caching layer with the controllers and routing files as resources. 2014-07-31 00:43:59 -07:00
William Durand
75eb7ca356 Merge pull request #418 from bezhermoso/swagger
Swagger support
2014-07-30 11:23:46 +02:00
William DURAND
6c7c53e78d Fix CS & file permissions 2014-07-30 10:50:23 +02:00
Bez Hermoso
bb723bdb40 Added new tests for Swagger doc controllers. Also some CS fixes. 2014-07-29 10:25:06 -07:00
Bez Hermoso
6f85aed33c Swagger 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.
2014-07-29 10:25:05 -07:00