Javier Spagnoletti
3c9bde427e
Respect invalid argument syntax used by PHP at ApiPlatformDescriber::__construct()
2018-03-17 10:51:50 -03:00
David Buchmann
d604e4c270
Merge pull request #1260 from nelmio/API-PLAT
...
Fix Api-Platform support
2018-03-17 14:35:14 +01:00
Guilhem Niot
444c4608ad
Fix Api-Platform support
2018-03-17 14:17:29 +01:00
Guilhem N
981a2b6293
Merge pull request #1242 from Soullivaneuh/patch-1
...
Remove beta tag from upgrade note
2018-02-26 20:58:32 +01:00
Sullivan SENECHAL
e93ab2a438
Remove beta tag from upgrade note
2018-02-26 10:59:28 +01:00
Guilhem N
37dfb8ef0d
Document how to customize models documentation ( #1237 )
2018-02-20 09:59:00 +01:00
Guilhem N
d4b0382fa2
Merge pull request #1236 from nelmio/properties
...
Allow to change a property name
2018-02-20 09:56:53 +01:00
Guilhem N
b464acb945
Update CHANGELOG.md
2018-02-19 21:53:32 +01:00
Guilhem Niot
7d99a96cf4
Allow to change a property name
2018-02-19 21:42:56 +01:00
Guilhem N
37efa7228b
Add a documentation form extension ( #1234 )
...
* Adding format and example extensions. Getting child type better for collections
Fixing copyrights
Fixing style issues
Fixing style issues
Fixing style issues
* Adding DocumentationExtension
* Adding error for invalid properties
* Reverting switch
* Missing entity break
* Removing unecessary doc
* Removing unecessary method
* Style change
* Adding break for number, integer, and text types
* Extracts the documentation form extension
2018-02-19 10:56:51 +01:00
Guilhem N
296c63d21c
Support references to config definitions ( #1232 )
...
* Support references to config definitions
* Add type hint
* Add a test
2018-02-19 10:49:52 +01:00
Guilhem N
8097a79d9c
Merge pull request #1228 from nelmio/GuilhemN-patch-2
...
Fix ObjectDescriber
2018-02-14 18:50:05 +01:00
Guilhem N
e0ce82f8ad
Fix ObjectDescriber
2018-02-14 13:51:06 +01:00
Roman Borysenko
c048adf7b7
Update index.rst ( #1223 )
...
* Update index.rst
* Create faq.rst
Frequently Asked Questions added
* Update faq.rst
* Update index.rst
Comment removed
* Update index.rst
* Update index.rst
* Update index.rst
* Update index.rst
* Update index.rst
2018-02-13 17:13:09 +01:00
Guilhem N
b5f64ea9cc
Merge pull request #1225 from nelmio/GuilhemN-patch-2
...
Fix Api-Platform support
2018-02-13 09:33:47 +01:00
Guilhem N
5b574e883f
Fix Api-Platform support
2018-02-13 08:49:43 +01:00
Martijn van Kempen
c72085a507
Added test for the Symfony constraints ( #1213 )
...
* Added test for the Symfony constraints
* Added missing ,
* Removed whiteline
* Moved test from JMS to FunctionTest
* Style ci changes
* Removed unused code
* Removed use
2018-02-05 18:39:58 +01:00
Guilhem N
b2adddecd3
Merge pull request #1218 from nelmio/GuilhemN-patch-1
...
Allow EXSyst/swagger ~0.4
2018-02-03 22:44:31 +01:00
Guilhem N
3799dc1338
Allow EXSyst/swagger ~0.4
2018-02-03 17:54:48 +01:00
fredrocheron
72010c1d98
FormModelDescriber: set type to array with correct example for multiple choices form. ( #1212 )
...
* FormModelDescriber: set type to array with correct example for multiple choices form.
* Remove arrays examples and add test for multiple ChoiceType form
* Use of "items" for multiple ChoiceType form.
Detect "choices" type to determine property or items type.
Remove unused variable declaration.
2018-02-03 12:52:43 +01:00
Guilhem N
0012b9438a
Change 3.1.0 release date
2018-01-28 13:56:02 +01:00
Martijn van Kempen
dad7f77351
Nullable patterns no longer throw exceptions ( #1210 )
...
Nullable patterns no longer throw exceptions
2018-01-26 17:09:38 +01:00
Guilhem N
819cbe354f
Merge pull request #1208 from nelmio/GuilhemN-patch-1
...
Add a missing variable initialisation
2018-01-26 12:49:41 +01:00
Guilhem N
79482bf7a2
Add a missing variable initialisation
2018-01-26 07:37:03 +01:00
Dragos Protung
b4c3dcd6ae
Added support for @Security
annotations ( #1201 )
...
* Added support for `@Security` annotations
* Don't output empty tag and security if none defined
2018-01-25 21:11:34 +01:00
Guilhem N
4e2a25c9bc
Update CHANGELOG.md
2018-01-25 15:03:03 +01:00
Martijn van Kempen
b07043ce33
Added Symfony constraint annotation reader ( #1202 )
...
* Added Symfony constraint annotation reader
* StyleCI analysis changes
* StyleCI analysis
* StyleCI analysis
* No longer adding the constraint description for NotBlank and NotNull
* Updated doc comment
* Removed @param
* Removed the AbstractComparison condition
* Using Assert and removed unused method
2018-01-25 14:59:48 +01:00
Guilhem N
f193fdb1f1
Inject the AnnotationsReader in Model describers instead of internal classes ( #1203 )
2018-01-24 19:58:38 +01:00
Robert Gruber
fe9d12772b
Add some missing property attributes for JMS model describer ( #1196 )
...
* Add some missing property attributes for JMS model describer
* Introduce own Swagger definition annotation reader
* Shorten annotation mapping by using merge
2018-01-24 15:20:20 +01:00
Guilhem N
bf9de35b22
Merge pull request #1192 from Mairu/issue-1191
...
allow phpdocumentor/reflection-docblock version ^4.0
2018-01-20 16:59:00 +01:00
Mairu
5e96c6fce2
allow phpdocumentor/reflection-docblock version ^4.0 ( #1191 )
2018-01-18 23:37:33 +01:00
Guilhem N
497ad05e5f
Merge pull request #1188 from michellesanver/fix-deprecations-in-test-due-to-private-service
...
Made nelmio_api_doc.generator a public service
2018-01-15 17:29:05 +01:00
Michelle Sanver
7d01a420fa
Made nelmio_api_doc.generator a public service
...
The service was not defined public or private, which threw deprecation notices in the tests where we use it from the container. It is now declared public explicitly to not have deprecations.
2018-01-15 17:05:34 +01:00
Guilhem N
f0baf35856
Update Swagger Ui ( #1187 )
2018-01-13 14:18:32 +01:00
Guilhem N
eda4a0a340
Always require phpdocumentor/reflection-docblock ( #1186 )
2018-01-13 14:18:13 +01:00
Guilhem N
b5b0eb1c16
Small fix
2018-01-13 14:12:30 +01:00
Guilhem Niot
b5fb133533
Merge fixes
2018-01-13 13:37:17 +01:00
Guilhem Niot
b73ce1fc06
Fixes
2018-01-13 13:29:45 +01:00
Guilhem N
4d95dde523
Make the docs clearer about models ( #1185 )
...
* Make the docs clearer about models
* Fixes
2018-01-13 13:21:23 +01:00
Guilhem N
73a5f104d6
Use @SWG\Parameter type when set instead of throwing ( #1174 )
...
* Add an exception
* Just use the manually defined type when set
* Update the jms model describer
2018-01-11 12:26:59 +01:00
David Buchmann
667569be7d
Merge pull request #1182 from nelmio/GuilhemN-patch-2
...
Several doc fixes
2018-01-10 17:03:30 +01:00
Guilhem N
c89ca38496
Several doc fixes
2018-01-10 14:45:02 +01:00
David Buchmann
1750792121
Merge pull request #1178 from nelmio/GuilhemN-patch-2
...
Fix links
2018-01-09 15:01:51 +01:00
Guilhem N
605cc84a3f
Fix links
2018-01-09 13:22:28 +01:00
Guilhem N
43dbc10137
Fix links
2018-01-09 12:58:52 +01:00
Guilhem N
4bd1b3ebe6
Merge pull request #1177 from nelmio/method-annotation-doc-improve
...
Provide example for action summary and description
2018-01-09 12:51:51 +01:00
David Buchmann
c30fb4c984
Provide example for action summary and description
2018-01-09 10:31:38 +01:00
Guilhem N
393a6c061e
Add areas support ( #1169 )
...
* Add areas support
* Document the Areas feature
* Allow to expose swagger area as JSON
* Fixes
* last fixes
2018-01-05 13:08:02 +01:00
Guilhem N
92f3eb633b
Merge pull request #1171 from nelmio/docs
...
Rework the docs
2018-01-04 20:08:06 +01:00
Guilhem N
447f44e5a1
Merge pull request #1172 from nelmio/api-platform
...
Fix Api-Platform support
2018-01-04 20:05:42 +01:00