Web App Options¶
Import: import system.webapi;
See the Web APIs guide for runnable examples, lifecycle, and error behavior.
WebAppOptions¶
API metadata and documentation endpoints. Empty URLs disable endpoints; transport settings, including TLS, belong to ServerConfig.
title¶
Title displayed in the API documentation.
version¶
Version identifying this API or snapshot format.
docs_url¶
Path serving Swagger UI; an empty path disables it.
openapi_url¶
Path serving the OpenAPI document.
redoc_url¶
Path serving ReDoc; an empty path disables it.
summary¶
Short summary displayed in the API documentation.
description¶
Description displayed in the API documentation.
terms_of_service¶
URL describing the API's terms of service.
swagger¶
Options controlling the interactive API documentation.
constructor¶
Creates a WebAppOptions with title, version, docs_url, openapi_url, redoc_url, summary, description, terms_of_service.