Baptiste Lafontaine
c90f2a11c1
Load class NelmioApiDocBundle annotations
2018-04-16 13:46:06 +02:00
Baptiste Lafontaine
a91c89cfe7
Add the swagger spec info name in <title>
2018-04-16 09:59:57 +02:00
Floran Brutel
7aa4c829b7
Ignore LINK and UNLINK methods
2018-04-12 16:09:22 +02:00
David Buchmann
a0960d8f78
Merge pull request #1288 from rebangm/patch-1
...
Fix typo
2018-04-10 11:38:56 +02:00
Jean-Philippe Dépigny
6a039bfe62
Fix typo
...
Add backslash in `use Nelmio\ApiDocBundle\Annotation\Model;`
2018-04-10 11:17:11 +02:00
Guilhem N
f464fef932
Merge pull request #1285 from jlekowski/master
...
Fix #1283 : Invalid swagger.json generation - definition for entities …
2018-04-09 12:04:42 +02:00
Jerzy Lekowski
3b2d9da6c2
Fix #1283 : Invalid swagger.json generation - definition for entities with Assert\NotBlank and Assert\Length
2018-04-09 10:53:43 +01:00
Guilhem N
ff590b013c
Merge pull request #1282 from WhiteEagle88/fix_1276
...
Fixed #1276 : Symfony Serializer Groups cause Exception while parsing
2018-04-05 16:00:15 +02:00
Dmytro Boiko
badcc8abdd
Fixed #1276 : Symfony Serializer Groups cause Exception while parsing
2018-04-05 15:54:51 +03:00
Guilhem N
0a946c5529
Typo
2018-04-04 22:10:42 +02:00
Guilhem N
e71a952f4a
Merge pull request #1279 from phansys/changelog
...
Use "areas" instead of "routes" in example for `nelmio_api_doc.areas` at `CHANGELOG.md`
2018-04-04 13:40:33 +02:00
Javier Spagnoletti
84067b8c8b
Use "areas" instead of "routes" in example for nelmio_api_doc.areas
at CHANGELOG.md
2018-04-01 11:24:40 -03:00
Guilhem N
a356221c67
Update 3.2 release date
2018-03-24 11:23:14 +01:00
Guilhem N
c8a5fb0ecc
Merge pull request #1263 from nelmio/in-object-model
...
Support ``@Model`` in in-object annotations
2018-03-24 10:03:36 +01:00
Guilhem N
6263ed8479
Merge pull request #1243 from ManInTheBox/proper-fos-rest-describer-pattern-setting
...
Fix #1239 : FosRestDescriber properly configures Parameter#pattern property
2018-03-24 09:37:54 +01:00
Guilhem N
82b8d14bb2
Merge pull request #1264 from adeelnawaz/master
...
Updated SwaggerDocblockConvertCommand command in UPGRADE-3.0.md
2018-03-24 09:34:31 +01:00
Zarko Stankovic
e83856ad9a
Refactored code to achieve the logic we want for pattern and format.
2018-03-23 19:46:54 +01:00
Guilhem N
1c14bfeecb
Fix a link
2018-03-23 15:52:39 +01:00
Guilhem Niot
8026ff46eb
Support `@Model
` in in-object annotations
2018-03-22 19:14:01 +01:00
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
anawaz
7b62443417
Updated SwaggerDocblockConvertCommand command in UPGRADE-3.0.md
...
- Allowed null input in `escapeQuotes(string $str)` - description of an API can be null
- Added command option `views` to input comma separated list of views - the API can have view(s) other than `default`
2018-03-19 13:24:55 +01: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
Zarko Stankovic
5a1dfa6ead
Added support for "format" field for Constraint objects.
2018-03-15 19:09:51 +01:00
Zarko Stankovic
499886deab
Fix #1239 : FosRestDescriber properly configures Parameter#pattern property.
...
Minor bugfix that configures `Parameter#pattern` property instead of `Parameter#format`.
Tests provided that prove this implementation works as expected.
2018-02-27 15:42:40 +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