This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-site.git
The following commit(s) were added to refs/heads/main by this push:
new 66440e22 NIFI-14842 Add link to OpenAPI Specification in the 2.0
documentation (#94)
66440e22 is described below
commit 66440e22a77a8bc272537529137001f30e66da01
Author: Eric Secules <[email protected]>
AuthorDate: Thu Aug 7 11:21:44 2025 -0700
NIFI-14842 Add link to OpenAPI Specification in the 2.0 documentation (#94)
Signed-off-by: David Handermann <[email protected]>
---
config.toml | 10 ++++++++++
themes/nifi/layouts/section/components.html | 1 +
2 files changed, 11 insertions(+)
diff --git a/config.toml b/config.toml
index b44b1404..946d72de 100644
--- a/config.toml
+++ b/config.toml
@@ -139,3 +139,13 @@ minifiCppPreviousProjectVersionReleased = "2024-05-17"
parent = 'Apache'
[menu.main.params]
external = true
+
+[mediaTypes]
+ [mediaTypes."text/yaml"]
+ suffixes = ["yaml", "yml"]
+
+[outputFormats]
+ [outputFormats.YAML]
+ mediaType = "text/yaml"
+ isPlainText = true
+ path = "/"
diff --git a/themes/nifi/layouts/section/components.html
b/themes/nifi/layouts/section/components.html
index 687d5e6a..65946ea5 100644
--- a/themes/nifi/layouts/section/components.html
+++ b/themes/nifi/layouts/section/components.html
@@ -31,6 +31,7 @@
<li><a href="{{ .Site.Params.staticDocsPath
}}/python-developer-guide.html">Python Developer Guide</a></li>
<li><a href="{{ .Site.Params.staticDocsPath
}}/nifi-in-depth.html">Apache NiFi In Depth</a></li>
<li><a href="{{ .Site.Params.staticDocsPath
}}/rest-api.html">REST API</a></li>
+ <li><a href="{{ .Site.Params.staticDocsPath
}}/swagger.yaml">OpenAPI Specification</a></li>
</ul>
</div>
</li>