Skip to content

Commit

Permalink
Fix version numbers for 3.2 openapi documentation (#7142)
Browse files Browse the repository at this point in the history
  • Loading branch information
torcolvin authored and bbrks committed Oct 8, 2024
1 parent 2a57100 commit f82b55d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions docs/api/components/schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1201,6 +1201,16 @@ Database:
additionalProperties:
x-additionalPropertiesName: scopename
$ref: '#/Scopes'
maxProperties: 1
example:
scopename:
collections:
collectionname1:
sync: 'function(doc){channel("collection name");}'
import_filter: 'function(doc) { if (doc.type != ''mobile'') { return false; } return true; }'
collectionname2:
sync: 'function(doc){channel("collection name");}'
import_filter: 'function(doc) { if (doc.type != ''mobile'') { return false; } return true; }'
name:
description: The name of the database.
type: string
Expand Down
2 changes: 1 addition & 1 deletion docs/api/diagnostic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ openapi: 3.0.3
info:
title: Sync Gateway
description: Sync Gateway manages access and synchronization between Couchbase Lite and Couchbase Server
version: 3.3.0
version: '3.2'
license:
name: Business Source License 1.1 (BSL)
url: 'https://github.com/couchbase/sync_gateway/blob/master/LICENSE'
Expand Down
2 changes: 1 addition & 1 deletion docs/api/metric-capella.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ openapi: 3.0.3
info:
title: App Services Metrics API
description: 'App Services manages access and synchronization between Couchbase Lite and Couchbase Capella'
version: 3.3.0
version: '3.2'
license:
name: Business Source License 1.1 (BSL)
url: 'https://github.com/couchbase/sync_gateway/blob/master/LICENSE'
Expand Down
2 changes: 1 addition & 1 deletion docs/api/metric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ openapi: 3.0.3
info:
title: Sync Gateway
description: Sync Gateway manages access and synchronization between Couchbase Lite and Couchbase Server
version: 3.3.0
version: '3.2'
license:
name: Business Source License 1.1 (BSL)
url: 'https://github.com/couchbase/sync_gateway/blob/master/LICENSE'
Expand Down

0 comments on commit f82b55d

Please sign in to comment.