Guilhem N
61cda0161c
Merge pull request #1261 from nelmio/model
...
Support @Model through `ref`
2018-03-22 19:05:23 +01:00
Guilhem Niot
8a29e6824d
Add a test case
2018-03-22 19:03:25 +01:00
Guilhem Niot
9bf00b5196
Support @Model through ref
2018-03-22 18:37:29 +01:00
Guilhem N
beb0ca8df8
Merge pull request #1265 from phansys/doc
...
[Documentation] Add some examples about undocumented properties and annotations
2018-03-22 18:35:39 +01:00
Guilhem N
f9e28db38b
Merge pull request #1259 from simonbertonsugasti/patch-1
...
Update UPGRADE-3.0.md
2018-03-21 13:25:40 +01:00
Javier Spagnoletti
c8be7ebf15
[Documentation] Add some examples about undocumented properties and annotations
2018-03-19 14:44:15 -03:00
David Buchmann
3698daa547
Merge pull request #1257 from phansys/ticket_1121
...
Allow to filter routes by host (#1121 )
2018-03-17 15:07:31 +01:00
Guilhem N
be54acd3ad
Merge pull request #1262 from phansys/API-PLAT
...
Respect invalid argument syntax used by PHP at `ApiPlatformDescriber::__construct()`
2018-03-17 14:57:03 +01:00
Javier Spagnoletti
3c9bde427e
Respect invalid argument syntax used by PHP at ApiPlatformDescriber::__construct()
2018-03-17 10:51:50 -03:00
Javier Spagnoletti
ec851ca65c
Allow to filter routes by host ( #1121 )
2018-03-17 10:37:54 -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
Simon Berton
cd4f54220e
Update UPGRADE-3.0.md
...
Added an if that fixes action routes defined more than once. That route is already changed to the new documentation and should throw an error if that happened.
2018-03-16 14:55:22 -03: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