| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html lang="en"> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | <head> | 
					
						
							|  |  |  | 	<meta charset="utf-8"> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 	<meta http-equiv="x-ua-compatible" | 
					
						
							|  |  |  | 		content="ie=edge"> | 
					
						
							|  |  |  | 	<meta name="viewport" | 
					
						
							|  |  |  | 		content="width=device-width, initial-scale=1, shrink-to-fit=no"> | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 	<meta name="robots" | 
					
						
							|  |  |  | 		content="noindex,nofollow"> | 
					
						
							|  |  |  | 	<meta name="format-detection" | 
					
						
							|  |  |  | 		content="telephone=no"> | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 	<meta name="author" | 
					
						
							|  |  |  | 		content="Bernd Bestel (bernd@berrnd.de)"> | 
					
						
							|  |  |  | 	<link rel="icon" | 
					
						
							|  |  |  | 		href="{{ $U('/img/grocy_icon.svg?v=', true) }}{{ $version }}"> | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-01 20:19:18 +02:00
										 |  |  | 	<title>{{ $__t('REST API & data model documentation') }} | grocy</title> | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 	<link href="{{ $U('/node_modules/swagger-ui-dist/swagger-ui.css?v=', true) }}{{ $version }}" | 
					
						
							|  |  |  | 		rel="stylesheet"> | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-09-22 13:28:49 +02:00
										 |  |  | 	@if(file_exists(GROCY_DATAPATH . '/custom_css.html')) | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 	@php include GROCY_DATAPATH . '/custom_css.html' @endphp | 
					
						
							| 
									
										
										
										
											2018-09-22 13:28:49 +02:00
										 |  |  | 	@endif | 
					
						
							| 
									
										
										
										
											2020-08-29 16:41:27 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 	<script> | 
					
						
							|  |  |  | 		var Grocy = { }; | 
					
						
							|  |  |  | 		Grocy.OpenApi = { }; | 
					
						
							| 
									
										
										
										
											2019-01-19 14:51:51 +01:00
										 |  |  | 		Grocy.OpenApi.SpecUrl = '{{ $U('/api/openapi/specification') }}'; | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 	</script> | 
					
						
							| 
									
										
										
										
											2019-09-19 19:53:46 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	<style> | 
					
						
							|  |  |  | 		.servers-title, | 
					
						
							|  |  |  | 		.servers, | 
					
						
							|  |  |  | 		.url { | 
					
						
							|  |  |  | 			display: none !important; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.swagger-ui .info { | 
					
						
							|  |  |  | 			margin-bottom: 0 !important; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.scheme-container { | 
					
						
							|  |  |  | 			padding-top: 0 !important; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.swagger-ui .scheme-container { | 
					
						
							|  |  |  | 			box-shadow: none !important; | 
					
						
							|  |  |  | 			-webkit-box-shadow: none !important; | 
					
						
							|  |  |  | 			border-bottom: 1px solid rgba(59, 65, 81, 0.3) !important; | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-19 19:53:46 +02:00
										 |  |  | 	</style> | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | </head> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <body> | 
					
						
							|  |  |  | 	<div id="swagger-ui"></div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-08 21:36:07 +02:00
										 |  |  | 	<script src="{{ $U('/node_modules/swagger-ui-dist/swagger-ui.js?v=', true) }}{{ $version }}"></script> | 
					
						
							|  |  |  | 	<script src="{{ $U('/node_modules/swagger-ui-dist/swagger-ui-bundle.js?v=', true) }}{{ $version }}"></script> | 
					
						
							|  |  |  | 	<script src="{{ $U('/node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js?v=', true) }}{{ $version }}"></script> | 
					
						
							| 
									
										
										
										
											2018-06-15 20:50:40 +02:00
										 |  |  | 	<script src="{{ $U('/viewjs', true) }}/openapiui.js?v={{ $version }}"></script> | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-09-22 13:28:49 +02:00
										 |  |  | 	@if(file_exists(GROCY_DATAPATH . '/custom_js.html')) | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 	@php include GROCY_DATAPATH . '/custom_js.html' @endphp | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | 	@endif | 
					
						
							|  |  |  | </body> | 
					
						
							| 
									
										
										
										
											2020-08-31 20:32:50 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-21 19:18:00 +02:00
										 |  |  | </html> |