74 Commits

Author SHA1 Message Date
Ilyas Salikhov
0808e8421a Add explicit dependencies instead of container 2024-07-02 16:24:26 +03:00
Ilyas Salikhov
56dd45e0d1 sf 6 deprecation types 2024-06-18 20:01:11 +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
Alexey
d8b5ab9f71
Fix deprecations (#8)
* fix symfony deprecations
2022-10-07 15:32:38 +03:00
mantis
056087cbbf Fix: Deprecation: A tree builder without a root node is deprecated since symfony 4.2 (#1457)
* Fix: Deprecation: A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.

* Fix: Deprecation: A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
2022-04-26 16:59:07 +03:00
Alan Poulain
b9718f3400 Compatibility with Symfony 4.3 (#1524)
* Use twig instead of templating

* Fix at least one suite test in Travis

* Use Twig namespace (Twig > 1.10 and TwigBundle > 2.2)
2022-04-26 16:58:48 +03:00
Alexander Kulinich
d43396c930 ability to change information for types of forms 2020-07-06 14:53:58 +03:00
Sullivan SENECHAL
839e9ed7e0 Improve true/false/null default values on configuration 2015-06-07 11:34:26 +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
c47265bb71 Fix DunglasJsonLdApiBundle support 2015-04-07 22:21:36 +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
Bez Hermoso
a5a13501e2 Alternate model naming strategy. 2014-08-25 10:14:04 -07:00
jaugustin
ae2c62fad1 add show/hide button and list/expand operations buttons on sections
add a new parameter default_sections_opened: false (default)
To start with sections opened or closed
2014-08-23 17:17:46 +02:00
Bez Hermoso
313f0af195 Pass in parameter for late resolving. 2014-08-20 10:26:43 -07: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
9d3c0a8c29 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:06 -07: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
Emmanuel Vella
6bc971c50a Refactored authentication config 2014-07-25 13:40:26 +02:00
Bez Hermoso
3a31c93c94 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.

Ignore data_class and always use form-type to avoid conflicts.

Quick fix.
2014-06-27 09:35:18 +02:00
Yosh de Vos
624802b57a Added configuration to disable body formats 2014-05-21 15:59:55 +02:00
Yosh de Vos
8402c748ee Added request formats configuration 2014-05-18 21:25:30 +02:00
Tim Nagel
c366ffba84 Fix ValidatorParser in symfony 2.5
Fixes #373
2014-04-30 22:18:06 +10:00
jdeveloper
dea78901a0 Added exclude_envs to ApiDoc annotation to exclude the documentation from the specified environments 2014-01-20 13:24:41 +01:00
William DURAND
eca2eb6d80 Improve documentation (authentication/sandbox) 2014-01-10 11:20:22 +01:00
William DURAND
be130a2d10 Fix incompatibility with Symfony2 2.1
All credits go to @restyler

See: https://github.com/nelmio/NelmioApiDocBundle/pull/237

Closes: #231
Replaces: #237
2013-11-14 11:00:44 +01:00
William Durand
f91a0868a8 Merge pull request #247 from domnikl/xsd
add XML namespace and XSD
2013-11-14 01:51:01 -08:00
William DURAND
d7fd929379 Fix CS 2013-11-14 10:33:57 +01:00
Jordi Boggiano
ecc4fb9897 Keep order of loaders, fixes #265 build 2013-10-29 14:41:03 +01:00
Tobias Schultze
09e82fa6d3 make form and validation extractors optional 2013-10-28 19:12:43 +01:00
Dominik Liebler
7f8a4d4b59 added XML namespace and XSD 2013-09-21 23:35:53 +02:00
jsampedro
7f2cff2ac5 Adds custom header Authentication method 2013-07-19 10:05:57 +02:00
Josh Hall-Bachner
a9f0613cee Added a configuration parameter to determine the default body format. 2013-06-04 15:30:07 -07:00
William Durand
08eebf0fa0 Merge pull request #177 from fvilpoix/annotation_handlers
Moving annotation extraction into tagged Handlers
2013-04-17 15:21:31 -07:00
fvilpoix
7f79ddc065 [ExtractorHandler] cleaning code 2013-04-17 13:41:28 +02:00
fvilpoix
76b85938c6 implementing all stof comments :) 2013-04-16 16:00:46 +02:00
fvilpoix
63b0f8e4da Moving annotation extraction into tagged Handlers 2013-04-12 17:43:27 +02:00
Benjamin Laugueux
8f37d7ba79 Fixed configuration 2013-04-12 08:49:38 +03:00
Benjamin Laugueux
0b7e734594 Added http basic authentication and custom api endpoint.
Fixed test
2013-04-11 13:57:31 +02:00
Patryk Szlagowski
0eb538083a motd configuration 2013-04-08 11:44:43 +02:00
William DURAND
026fcc4761 Merge pull request #117 from gregholland/master
Add a config option for a default Accept header
2013-03-16 18:53:19 +01:00
Jordi Boggiano
abac2a03df Use proper base url by default instead of hardcoded app_dev controller 2013-03-01 21:24:54 +01:00
Greg Holland
fef40329a4 Add a config option for a default sandbox accept header 2012-12-11 17:59:03 -08:00
Jordi Boggiano
28f059fff0 Merge pull request #86 from vslinko/allow-to-disable-inline-doc
Make request listener configurable
2012-10-19 01:05:37 -07:00
Vyacheslav Slinko
ffd9feb797 Improved request_listener configuration 2012-10-17 18:44:14 +04:00