docs: stop generating schema doc for 'bridges' root

This commit is contained in:
Zaiming (Stone) Shi 2024-02-23 14:51:57 +01:00
parent 46877e979b
commit 2adfefe297
2 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,7 @@ namespace() -> "bridge".
tags() -> tags() ->
[<<"Bridge">>]. [<<"Bridge">>].
roots() -> [{bridges, ?HOCON(?R_REF(bridges), #{importance => ?IMPORTANCE_LOW})}]. roots() -> [{bridges, ?HOCON(?R_REF(bridges), #{importance => ?IMPORTANCE_HIDDEN})}].
fields(bridges) -> fields(bridges) ->
[ [

View File

@ -44,6 +44,7 @@ paths() ->
["/schemas/:name"]. ["/schemas/:name"].
%% This is a rather hidden API, so we don't need to add translations for the description. %% This is a rather hidden API, so we don't need to add translations for the description.
%% TODO(5.7): delete 'bridges'
schema("/schemas/:name") -> schema("/schemas/:name") ->
Schemas = [hotconf, bridges, actions, connectors], Schemas = [hotconf, bridges, actions, connectors],
#{ #{