about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2010-10-26 13:58:54 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2010-10-26 13:58:54 +0200
commit0852919da70898c95d7e27a90800da0cc5b54d57 (patch)
tree69a8f61e50fee44ad36b986948f402810f17b88d
parentspore2dot: add a flag for method which needs authentication (diff)
downloadapi-description-0852919da70898c95d7e27a90800da0cc5b54d57.tar.gz
spore2dot: conditional generation of method/path
-rw-r--r--utils/spore2dot.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/spore2dot.pl b/utils/spore2dot.pl
index dd6e45a..c59d79a 100644
--- a/utils/spore2dot.pl
+++ b/utils/spore2dot.pl
@@ -67,6 +67,7 @@ foreach my $spec (@specs) {
         print ")";
         print " &otimes;" if $desc->{authentication};
         print "\\l";
+        print "&nbsp;&nbsp;&nbsp;", $desc->{method}, " ", $desc->{path}, "\\l" if $ENV{SPORE_PATH};
     }
     print "}\"];\n\n";
 }