Skip to content

Commit

Permalink
Correct required properties
Browse files Browse the repository at this point in the history
Tidy up examples, make them consistent.
  • Loading branch information
jon-ruckwood committed Oct 9, 2024
1 parent 98e7099 commit 544a946
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ Example, specifying an endpoint:
servers:
analytics:
type: redshift
account: '123456789012'
database: analytics
schema: analytics
endpoint: analytics-cluster.example.eu-west-1.redshift.amazonaws.com:5439/analytics
```
Expand All @@ -437,10 +439,9 @@ servers:
analytics:
type: redshift
account: '123456789012'
clusterIdentifier: analytics-cluster
database: analytics
port: 5439
schema: analytics
clusterIdentifier: analytics-cluster
```

Example, specifying the cluster host:
Expand All @@ -449,10 +450,11 @@ Example, specifying the cluster host:
servers:
analytics:
type: redshift
host: analytics-cluster.example.eu-west-1.redshift.amazonaws.com
account: '123456789012'
database: analytics
port: 5439
schema: analytics
host: analytics-cluster.example.eu-west-1.redshift.amazonaws.com
port: 5439
```

#### Azure Server Object
Expand Down
6 changes: 1 addition & 5 deletions datacontract.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,8 @@
"required": [
"type",
"account",
"host",
"database",
"schema",
"clusterIdentifier",
"port",
"endpoint"
"schema"
]
},
{
Expand Down

0 comments on commit 544a946

Please sign in to comment.