Fix: rpc json schema output would in some cases not be generated
This commit is contained in:
parent
0940442148
commit
1833434f84
@ -301,7 +301,10 @@ let pp_print_html_tabs fmt { path ; description ; input ; output ; _ (* example
|
|||||||
| Some _ ->
|
| Some _ ->
|
||||||
fprintf fmt "%a" (pp_print_html_tab_button ~default:false ~shortlabel:"input" ~content:"Input format") path;
|
fprintf fmt "%a" (pp_print_html_tab_button ~default:false ~shortlabel:"input" ~content:"Input format") path;
|
||||||
| None -> ());
|
| None -> ());
|
||||||
fprintf fmt "%a" (pp_print_html_tab_button ~default:false ~shortlabel:"output" ~content:"Output format") path;
|
(match output with
|
||||||
|
| Some _ ->
|
||||||
|
fprintf fmt "%a" (pp_print_html_tab_button ~default:false ~shortlabel:"output" ~content:"Output format") path;
|
||||||
|
| None -> ());
|
||||||
(* (match example with
|
(* (match example with
|
||||||
* | Some _ ->
|
* | Some _ ->
|
||||||
* fprintf fmt "%a" (pp_print_html_tab_button ~default:false ~shortlabel:"example" ~content:"Example") path;
|
* fprintf fmt "%a" (pp_print_html_tab_button ~default:false ~shortlabel:"example" ~content:"Example") path;
|
||||||
|
Loading…
Reference in New Issue
Block a user