The module should be registered in config/application.config.php
'modules' => array(
'...',
'LaminasSwagger'
),
After composer installation you need to copy config file and change it according to your needs.
cp vendor/tasmaniski/laminas-swagger/config/swagger.global.php.dist config/autoload/swagger.global.php