Skip to content

Commit

Permalink
Update conf files.
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed Oct 22, 2018
1 parent 709472a commit a244de0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 21 deletions.
24 changes: 9 additions & 15 deletions src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ assets {

openapi {

enabled=true

resourcePrefix="io/sinistral/proteus/server/tools/oas"

basePath= ${application.path}"/oas"
Expand All @@ -74,25 +72,21 @@ openapi {
openapi="3.0.1"

# openapi info
info {
title = ${application.name}
version = ${application.version}
description="Proteus Server"
}


securitySchemes {
ApiKeyAuth = {
type="APIKEY"
in="HEADER"
type="apiKey"
in="header"
name="X-API-KEY"
}
}

servers {
url=${application.path}
description="Default Server"
}
servers = [
{
url=${application.path}
description="Default Server"
}
]



}
Expand Down
14 changes: 8 additions & 6 deletions src/test/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,18 @@ openapi {

securitySchemes {
ApiKeyAuth = {
type="APIKEY"
in="HEADER"
type="apiKey"
in="header"
name="X-API-KEY"
}
}

servers {
url=${application.path}
description="Default Server"
}
servers = [
{
url=${application.path}
description="Default Server"
}
]


}
Expand Down

0 comments on commit a244de0

Please sign in to comment.