* Add dump command to print out swagger JSON.
Command outputs to stdout, so can be redirected to a file.
Pretty prints output by default.
--no-pretty can be passed to remove whitespace from json output if it does not need to be human readable
* Update for styleci corrections
* Fix CS and add type hint
* REbase + Updates to documentation of dump command.
* Remove defaultName - config file specifies this
Add return value to dump command
* Update for OA3
* Add a test case
* update command name
* Fix the tests
Co-authored-by: Guilhem Niot <egetick@gmail.com>
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
* Initial pass for OA3 upgrade
* Fix Util Tests
* Fix first batch of Unit Tests. Up to Model
* Another batch of fixed tests
* Update annotations
* Convert Model & Property Describers
* Update tests, Fix RouteDescribers, FIx additional bugs
* Another batch of updates
* Another batch of fixed Functional Tests
* Fix FunctionalTest tests
* Fix Bazinga Tests
* FIx FOS Rest
* Fix JMS TEsts & describers
* Fix all Tests
* Fix few stuff from own CR
* CS Fixes
* CS Fixes 2
* CS Fixes 3
* CS Fixes 4
* Remove collection bug
* Updates after first CRs
* CS
* Drop support for SF3
* Update the docs
* Add an upgrade guide
* misc doc fixes
* Configurable media types
* Code Style Fixes
* Don't use ::$ref for @Response and @RequestBody
* Fix upgrading guide
* Fix OA case
Co-authored-by: Filip Benčo <filip.benco@websupport.sk>
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
Co-authored-by: Mantis Development <mantis@users.noreply.github.com>
* 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
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..`
* 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
* 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
* 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