File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="de ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
6+ < link rel ="stylesheet " type ="text/css " href ="//cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.51.1/swagger-ui.min.css ">
7+ < title > Umweltbundesamt: Meeresumweltdatenbank (MUDAB) - OpenAPI Documentation</ title >
8+
9+ < body >
10+ < div id ="openapi ">
11+
12+ < script src ="//cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.51.1/swagger-ui-bundle.min.js "> </ script >
13+ < script >
14+ window . onload = function ( ) {
15+ const ui = SwaggerUIBundle ( {
16+ url : "openapi.yaml" ,
17+ dom_id : "#openapi" ,
18+ requestInterceptor : function ( req ) {
19+ var mapping = {
20+ "geoportal.bafg.de: " mudab . api . proxy . bund . dev "
21+ }
22+ if ( this . url !== "openapi.yaml" ) {
23+ var url = new URL ( req . url ) ;
24+ url . hostname = mapping [ url . hostname ] ;
25+ req . url = url . href ;
26+ }
27+ return req ;
28+ } ,
29+ } )
30+ }
31+ </ script >
32+ </ body >
33+ </ html >
You can’t perform that action at this time.
0 commit comments