### Build BankID App Activation SPI Documentation Locally Source: https://github.com/bankidnorge/bankid-app-activation-spi/blob/main/BUILD.md This command executes a Maven build to clean, compile, and generate the SPI documentation files locally for the BankID App activation project. The resulting documentation will be placed in the 'docs' directory of the project. ```Shell mvn clean compile -f outgoingra ``` -------------------------------- ### JavaScript Configuration for Swagger UI Bundle Source: https://github.com/bankidnorge/bankid-app-activation-spi/blob/main/docs/index.html Initializes and configures the Swagger UI Bundle upon page load. It specifies the API definition URL, the DOM element for rendering, enables deep linking, includes standard presets, and integrates a custom plugin to disable the 'Try it out' functionality. ```javascript const DisableTryItOutPlugin = function() { return { statePlugins: { spec: { wrapSelectors: { allowTryItOutFor: () => () => false } } } } } window.onload = function() { const ui = SwaggerUIBundle({ url: 'https://bankidnorge.github.io/bankid-app-activation-spi/swagger.json', dom_id: '#swagger-ui', deepLinking: true, presets: [ SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl, DisableTryItOutPlugin ], layout: "StandaloneLayout" }) window.ui = ui } ``` -------------------------------- ### Basic ReDoc Body Styling Source: https://github.com/bankidnorge/bankid-app-activation-spi/blob/main/docs/redoc.html This CSS snippet provides basic styling for the `body` element within a ReDoc generated documentation page. It removes default margins and padding, ensuring a clean layout. This is typically used to reset browser default styles. ```CSS body { margin: 0; padding: 0; } ``` -------------------------------- ### Basic CSS Styling for Swagger UI Container Source: https://github.com/bankidnorge/bankid-app-activation-spi/blob/main/docs/index.html Defines fundamental CSS rules for the HTML document and body, ensuring consistent box-sizing, scroll behavior, and margin reset for the Swagger UI display. ```css html { box-sizing: border-box; overflow: -moz-scrollbars-vertical; overflow-y: scroll; } *, *:before, *:after { box-sizing: inherit; } body { margin:0; background: #fafafa; } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.