Skip to content

Commit

Permalink
fix(config): change the default schema URL for petstore
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoeurderoy committed Nov 5, 2024
1 parent c63c176 commit a19d154
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ cpus: 1
monitoring:
port: 5555
ssl:
cert: "./certs/server.cert"
key: "./certs/server.key"
root_cert: "./certs/root.cert"
cert: './certs/server.cert'
key: './certs/server.key'
root_cert: './certs/root.cert'
protocols:
http:
enable: true
mocks_dir: "./mocks"
mocks_dir: './mocks'
port: 8080
https:
enable: false
Expand All @@ -19,35 +19,35 @@ protocols:
port: 8081
ws:
enable: false
mocks_dir: "./ws_mocks"
mocks_dir: './ws_mocks'
port: 8082
grpc:
enable: false
host: 0.0.0.0
port: 4312
mocks_dir: "./grpc/mocks"
protos_dir: "./grpc/protos"
mocks_dir: './grpc/mocks'
protos_dir: './grpc/protos'
grpc_tls: false
thrift:
enable: false
mocks_dir: "./thrift/mocks"
mocks_dir: './thrift/mocks'
services:
- port: 9999
service: "/opt/gen-nodejs/Calculator"
service: '/opt/gen-nodejs/Calculator'
handlers:
- add
- substract
- ping
soap:
enable: false
mocks_dir: "./soap/mocks"
mocks_dir: './soap/mocks'
port: 8100
services:
- wsdl: ./soap/countryservice.wsdl
path: /countryinfo
backup:
enable: false
cron: "0 * * * *" # Hourly Backup
cron: '0 * * * *' # Hourly Backup
cache:
enable: false
ttl_seconds: 300
Expand All @@ -61,7 +61,7 @@ validation:
enable: true
schemas:
- type: OpenApi
url: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.json
url: https://raw.githubusercontent.com/OAI/learn.openapis.org/refs/heads/main/examples/v3.0/petstore.json
# ext_helpers: "./custom_handlebar.json"
# ext_data_source:
# pg:
Expand Down

0 comments on commit a19d154

Please sign in to comment.