diff --git a/fastapi/models/fastapi_endpoint.py b/fastapi/models/fastapi_endpoint.py
index a7608e27b..ea5c5ccc6 100644
--- a/fastapi/models/fastapi_endpoint.py
+++ b/fastapi/models/fastapi_endpoint.py
@@ -48,6 +48,11 @@ class FastapiEndpoint(models.Model):
docs_url: str = fields.Char(compute="_compute_urls")
redoc_url: str = fields.Char(compute="_compute_urls")
openapi_url: str = fields.Char(compute="_compute_urls")
+ public_url: str = fields.Char(
+ help="The public URL of the API.\n"
+ "This is an informative data item that can be used by "
+ "other modules, for example, to construct URLs in mails."
+ )
company_id = fields.Many2one(
"res.company",
compute="_compute_company_id",
diff --git a/fastapi/models/fastapi_endpoint_demo.py b/fastapi/models/fastapi_endpoint_demo.py
index 8ddbb95f6..63cfb222b 100644
--- a/fastapi/models/fastapi_endpoint_demo.py
+++ b/fastapi/models/fastapi_endpoint_demo.py
@@ -28,7 +28,7 @@ class FastapiEndpoint(models.Model):
)
demo_auth_method = fields.Selection(
selection=[("api_key", "Api Key"), ("http_basic", "HTTP Basic")],
- string="Authenciation method",
+ string="Authentication method",
)
def _get_fastapi_routers(self) -> List[APIRouter]:
diff --git a/fastapi/views/fastapi_endpoint.xml b/fastapi/views/fastapi_endpoint.xml
index e4a6c28c8..be04c9841 100644
--- a/fastapi/views/fastapi_endpoint.xml
+++ b/fastapi/views/fastapi_endpoint.xml
@@ -51,6 +51,11 @@
+
@@ -95,6 +100,7 @@
+