Corrected templates

main
Tom Peltonen 2024-02-25 22:52:59 +11:00
parent 95499fed79
commit 13ce31da60
2 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
# Sequence diagram # Sequence diagram
This represents the sequence diagram for This represents the sequence diagram for
service **{{.ServiceName}}** service names {{ range .ServiceNames}}**{{.}}** {{ end }}
```mermaid ```mermaid
sequenceDiagram sequenceDiagram
participant consumer as Consumer participant consumer as Consumer
participant gateway as Gateway participant gateway as Gateway
participant microservice as {{.ServiceName}} participant microservice as ServiceName
participant feature as Svc Feature participant feature as Svc Feature
participant authz as Authorisation participant authz as Authorisation
participant log as Logger participant log as Logger

View File

@ -1,5 +1,5 @@
%% Service name {{.ServicePoint}} %% Service name {{.ServicePoints}}
{{ range .Apis}} {{ range .Apis}}
%% Sequence diagram for {{ .ServiceId }} as Svc {{ .Name }} %% Sequence diagram for {{ .ServiceId }} as Svc {{ .Name }}
@ -7,7 +7,7 @@ sequenceDiagram
participant consumer as Consumer participant consumer as Consumer
participant gateway as Gateway participant gateway as Gateway
participant microservice as {{$.ServiceName}} participant microservice as {{$.ServiceNames}}
{{ range $.Depends}} {{ range $.Depends}}
participant {{ .ServiceId }} as Svc {{ .Name }}{{ end }} participant {{ .ServiceId }} as Svc {{ .Name }}{{ end }}