Skip to content

Commit

Permalink
#1 Change naming to snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
sklein94 committed May 26, 2020
1 parent 50b0aee commit 78a74d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dogu.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"Configuration": [
{
"Name": "validator.url",
"Name": "validator_url",
"Description": "Set the url of the swaggerui validator.",
"Optional": true
}
Expand Down
4 changes: 2 additions & 2 deletions resources/var/www/html/index.html.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
url: "",
dom_id: '#swagger-ui',
deepLinking: true,
{{ if .Config.Exists "validator.url" }}
validatorUrl: "{{ .Config.Get "validator.url"}}",
{{ if .Config.Exists "validator_url" }}
validatorUrl: "{{ .Config.Get "validator_url"}}",
{{ else }}
validatorUrl: null,
{{ end }}
Expand Down

0 comments on commit 78a74d8

Please sign in to comment.