Add the swagger spec info name in <title>

This commit is contained in:
Baptiste Lafontaine 2018-04-16 09:59:57 +02:00
parent a0960d8f78
commit a91c89cfe7

View File

@ -9,7 +9,7 @@ file that was distributed with this source code. #}
<html>
<head>
<meta charset="UTF-8">
<title>NelmioApiDocBundle</title>
<title>{{ swagger_data.spec.info.title }} - NelmioApiDocBundle</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700">
<link rel="stylesheet" href="{{ asset('bundles/nelmioapidoc/swagger-ui/swagger-ui.css') }}">