Guilhem Niot
0fd910b34a
Update the installation command
2020-07-24 16:57:39 +02:00
Guilhem Niot
dfff2476d8
Add @SerializedName
support ( #1636 )
...
* Add `@SerializedName` support
* Also test `@SerializedName` on properties
* Fix tests with sf < 4.2
* Fix the tests
* Update the CHANGELOG
2020-05-30 18:08:25 +02:00
Guilhem Niot
5e8f7290e8
Change arrow function to an IE11 compatible function
...
Imports https://github.com/api-platform/core/pull/2899 and fixes https://github.com/nelmio/NelmioApiDocBundle/issues/1517
2020-05-29 18:15:57 +02:00
Simon Podlipsky
75c9db256a
Upgrade Swagger UI to 3.25.0
2020-03-22 21:33:04 +01:00
Guilhem Niot
1a9a5d7ce6
Merge pull request #1552 from cyberemissary/duplicate-param-cleanup
...
Added describer that removes duplicate parameters when using $ref.
2020-03-14 11:41:27 +01:00
Filip Benčo
90bae6738a
Update after PR
2020-02-18 20:45:58 +01:00
Guilhem Niot
3710e95d26
Rework PR
2020-01-09 21:45:37 +01:00
cyberemissary
9b9dbe69dd
Added describer that removes duplicate parameters when using $ref.
2020-01-09 14:29:52 -05:00
Filip Benčo
e9926b8025
Fix BC
2019-12-13 23:32:30 +01:00
Filip Benčo
f16ac2e785
Fix tests
2019-12-13 22:54:58 +01:00
Filip Benčo
2de03859c0
Fix some bugs and confings
2019-12-13 22:20:13 +01:00
Filip Benčo
f9eacee3fd
Add exntensible Property Describers
2019-12-13 21:40:42 +01:00
Maxime Helias
1464865de1
Remove deprecated notice about controller_name_converter
2019-11-19 17:23:12 +01:00
Gripinskiy Sergey
57f8cf4634
Question about @SWG\Tag annotation added to FAQ ( #1525 )
2019-06-15 15:22:54 +02:00
Guilhem N
48c29474e0
Update swagger-ui ( #1518 )
2019-06-10 12:32:09 +02:00
Guilhem N
846e2e3ae4
Merge pull request #1456 from cyberemissary/cache-authorization
...
Cache authorization in local storage.
2019-05-18 09:56:51 +02:00
cyberemissary
31ef0bdc58
Cache authorization in local storage.
2019-05-17 16:50:49 -04:00
Serhii Kondratiuk
ccad10aae1
Added name_patterns filter option ( #1504 )
2019-04-16 17:22:50 +02:00
Asmir Mustafic
d6ea99420e
Allow model describers on jms custom types ( #1495 )
...
* allow model describers on jms custom types
* add fallback describer
* test custom type def
* remove object_fallback describer from the container when jms is not active
2019-04-16 12:13:33 +02:00
Aleksandar Dimitrov
f0bc1d3ff4
Fix for missing basePath
...
If it is used without `#/definitions/` the documentation gives an error: `Could not resolve reference because of: Tried to resolve a relative URL, without having a basePath..`
2019-02-27 16:54:49 +02:00
Guilhem N
2cd7522d14
Add class attribute
2019-02-18 17:20:39 +01:00
Guilhem N
1db38a25b0
Do not autowire the form extension
2019-02-18 08:38:56 +01:00
Guilhem N
edb54a1551
Merge pull request #1463 from MyHammer/fix-api-platform-documentation-decoration
...
Fix documentation decoration with API Platform
2019-01-23 13:42:03 +01:00
Olivier Bacs
43c7c0db58
Update index.rst
...
To reflect Symfony 4's directory and file hierarchy
2019-01-21 23:50:02 +00:00
Alexander Wenzel
f1bb40c6e4
Fix #1462 by allowing all supported implementations of NormalizerInterface in ApiPlatformDescriber
...
> add test
2019-01-11 16:54:58 +01:00
Quentin Stoeckel
1e9585a415
faq.rst: enhance readability in symfony.com docs ( #1420 )
...
It may be a bit less readable on GitHub though.
2018-10-31 16:34:46 +01:00
Quentin Stoeckel
6c6a04bba7
Various documentation enhancements ( #1423 )
2018-10-31 16:33:06 +01:00
Quentin Stoeckel
48aaca92e3
Fix NelmioApiDocBundle view customization instructions ( #1419 )
...
* Fix NelmioApiDocBundle view customization instructions
"Just create a file..." was not OK (missing views/ subdirectory, wrong SwaggerUi case)
The path showcased as code-block's first row was OK
* View customization instructions: remove unnecessary /views/ subdirectory
2018-10-19 20:11:39 +02:00
Baptiste Lafontaine
70442dde60
Update swagger ui
2018-10-02 16:54:00 +02:00
Guilhem N
31ae375ab5
Make sure alternative names use the exact names specified ( #1384 )
...
* Make sure alternative names use the exact name specified
* Document the feature
* Cs
2018-08-26 22:15:44 +02:00
Aurélien Fontaine
c98f43164e
Fix path for template extension
2018-08-13 09:05:06 +02:00
David Buchmann
ca118c0fcc
complete example for template in faq
2018-07-16 14:15:27 +02:00
Markus Poerschke
c771c684a8
Customizable template and remove Google Fonts ( #1357 )
...
* Allow to override certain parts of the template
* Twig template can be defined via config
* Blocks can be used to override/extend only parts of the template
* Fix spelling in documentation
* Fix extension configuration tree
* Fix unit tests by making constructor argument optional
* Add fonts block and split swagger initialization into own block
* Fix code style
* Remove Google fonts, remove configuration and add changelog entry
* Remove template argument from service definition
* Add correct path for overriding template
* Move re-add of Google Fonts to FAQ section in documentation.
* Remove unused class import
2018-07-16 09:45:18 +02:00
Asmir Mustafic
ab005c4129
Implement alternative naming system via configuration ( #1312 )
...
* implement alternative naming system via configuration
* use strict comparison
* test di configs
* rever
* test naming aliases are applied
* set "default" as default area
* test names are passed to generators
* cs formatting
* added extra check for built-int types
* cs
* added documentation about alternative names
* allow to create the same alias in two different areas
* document and test better aliasing strategy
* specify that the last matching rule is used
* Make last matching rule wins
* Fix documentation
2018-06-10 09:56:38 +02:00
Guilhem N
9adca90e45
Merge pull request #1316 from dbu/faq
...
add more entries to the faq
2018-05-10 17:26:29 +02:00
Ondřej Machulda
83de823e77
Fix Model annotation example in docs ( fixes #1318 )
2018-05-09 17:12:17 +02:00
David Buchmann
d0e16d6001
adjust to feedback
2018-05-08 08:08:20 +02:00
David Buchmann
16fa7cf618
add more entries to the faq
2018-05-07 10:05:03 +02:00
Asmir Mustafic
4253ff6b67
Merge pull request #1277 from goetas/bazinga-hateoas
...
Add basic BazingaHateoasBundle support
2018-05-05 14:49:17 +02:00
Baptiste Lafontaine
a91c89cfe7
Add the swagger spec info name in <title>
2018-04-16 09:59:57 +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
0a946c5529
Typo
2018-04-04 22:10:42 +02: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
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
9bf00b5196
Support @Model through ref
2018-03-22 18:37:29 +01:00
Javier Spagnoletti
c8be7ebf15
[Documentation] Add some examples about undocumented properties and annotations
2018-03-19 14:44:15 -03:00
Javier Spagnoletti
ec851ca65c
Allow to filter routes by host ( #1121 )
2018-03-17 10:37:54 -03:00
Guilhem N
37dfb8ef0d
Document how to customize models documentation ( #1237 )
2018-02-20 09:59:00 +01:00