### Applying Basic Body Styles (CSS) Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.1.28/apidoc.html This CSS snippet applies basic styling to the `body` element of the HTML document, setting its margin and padding to zero. This is a common practice in web development to remove default browser spacing around the page content, ensuring a consistent layout starting from the very edge of the viewport. ```CSS body { margin: 0; padding: 0; } ``` -------------------------------- ### Initializing Swagger UI for Feller µGateway API - JavaScript Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.1.28/apiui.html This JavaScript snippet initializes the Swagger UI, loading the OpenAPI specification from `ugateway_openapi_domain_public.yaml`. It configures deep linking, uses standard API presets, and includes the DownloadUrl plugin, rendering the UI within the `#swagger-ui` DOM element. ```JavaScript window.onload = function() { // Begin Swagger UI call region const ui = SwaggerUIBundle({ url: "./ugateway_openapi_domain_public.yaml", dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "BaseLayout" }); // End Swagger UI call region window.ui = ui; }; ``` -------------------------------- ### Initializing Swagger UI Bundle with JavaScript Source: https://github.com/feller-ag/wiser-api/blob/main/docs/6.0.16/apiui.html This JavaScript code initializes the Swagger UI on window load, pointing to a local OpenAPI YAML file. It configures deep linking, includes standard API presets, and adds the DownloadUrl plugin for enhanced functionality. ```JavaScript window.onload = function() { // Begin Swagger UI call region const ui = SwaggerUIBundle({ url: "./ugateway_openapi_domain_public.yaml", dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "BaseLayout" }); // End Swagger UI call region window.ui = ui; }; ``` -------------------------------- ### Initializing Swagger UI for Feller µGateway API (JavaScript) Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.1.16/apiui.html This snippet initializes the Swagger UI, loading the OpenAPI specification from `ugateway_openapi_domain_public.yaml` and configuring the UI elements. It enables interactive exploration of the Feller µGateway API documentation. ```JavaScript window.onload = function() { const ui = SwaggerUIBundle({ url: "./ugateway_openapi_domain_public.yaml", dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "BaseLayout" }); window.ui = ui; }; ``` -------------------------------- ### Initializing Swagger UI for Feller µGateway API - JavaScript Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.1.25/apiui.html This JavaScript snippet initializes the Swagger UI, loading the OpenAPI specification from `ugateway_openapi_domain_public.yaml` and configuring the UI components. It enables interactive exploration of the Feller µGateway API documentation. ```javascript window.onload = function() { const ui = SwaggerUIBundle({ url: "./ugateway_openapi_domain_public.yaml", dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "BaseLayout" }); window.ui = ui; }; ``` -------------------------------- ### Initializing Swagger UI for Feller µGateway API (JavaScript) Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.0.6/apiui.html This JavaScript snippet initializes the Swagger UI, loading the OpenAPI specification from 'ugateway_openapi_domain_public.yaml'. It configures deep linking, uses standard API presets, and includes the DownloadUrl plugin for enhanced functionality. ```javascript window.onload = function() { // Begin Swagger UI call region const ui = SwaggerUIBundle({ url: "./ugateway_openapi_domain_public.yaml", dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl ], layout: "BaseLayout" }); // End Swagger UI call region window.ui = ui; }; ``` -------------------------------- ### Basic CSS Styling for HTML Elements Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.1.28/apiui.html This CSS snippet defines basic styling for HTML elements, including `html`, `*` (universal selector), and `body`. It sets box-sizing, manages scrollbars, and applies margin and background color to the body. ```CSS html { box-sizing: border-box; overflow: -moz-scrollbars-vertical; overflow-y: scroll; } *, *:before, *:after { box-sizing: inherit; } body { margin:0; background: #fafafa; } ``` -------------------------------- ### Basic HTML Body Styling with CSS Source: https://github.com/feller-ag/wiser-api/blob/main/docs/6.0.16/apiui.html This CSS snippet defines basic box-sizing rules for all elements and sets the margin and background color for the body, ensuring consistent rendering across browsers for the Swagger UI page. ```CSS html { box-sizing: border-box; overflow: -moz-scrollbars-vertical; overflow-y: scroll; } *, *:before, *:after { box-sizing: inherit; } body { margin:0; background: #fafafa; } ``` -------------------------------- ### Resetting Body Margin and Padding - CSS Source: https://github.com/feller-ag/wiser-api/blob/main/docs/6.0.16/apidoc.html This CSS snippet defines the basic styling for the `body` element within the ReDoc documentation, ensuring no default margins or padding are applied. This is a common practice to reset browser-specific default styles and provide a clean slate for layout. ```CSS body { margin: 0; padding: 0; } ``` -------------------------------- ### Resetting Body Margin and Padding - CSS Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.1.16/apidoc.html This CSS snippet applies a universal reset to the `body` element's margin and padding, setting both to zero. This is a common practice in web development to eliminate default browser spacing and provide a clean slate for layout design. ```css body { margin: 0; padding: 0; } ``` -------------------------------- ### Resetting Body Margin and Padding (CSS) Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.0.6/apidoc.html This CSS snippet targets the `body` element to reset its default margin and padding to zero. This is a common practice in web development to ensure consistent layout across different browsers by removing their default spacing around the document content. ```CSS body { margin: 0; padding: 0; } ``` -------------------------------- ### Resetting Body Margin and Padding in CSS Source: https://github.com/feller-ag/wiser-api/blob/main/docs/5.1.25/apidoc.html This CSS snippet targets the `body` element to reset its default margin and padding to zero. This is a common practice in web development to ensure consistent layout across different browsers by removing their default spacing around the page content. ```CSS body { margin: 0; padding: 0; } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.