-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CBG-4143 add redocly targets for capella #7044
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5f5fbd3
CBG-4143 add redocly targets for capella
torcolvin 10446c6
mark capella metrics port as 4988 and url as :4988/metrics
torcolvin 045ddbb
wip
torcolvin 456edbb
add public-capella target
torcolvin e649b1b
use built in info-override decorator
torcolvin 2ccb879
remove unused public-capella.yaml and use x-capella filtering on on a…
torcolvin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 2022-Present Couchbase, Inc. | ||
# | ||
# Use of this software is governed by the Business Source License included | ||
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified | ||
# in that file, in accordance with the Business Source License, use of this | ||
# software will be governed by the Apache License, Version 2.0, included in | ||
# the file licenses/APL2.txt. | ||
|
||
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 | ||
license: | ||
name: Business Source License 1.1 (BSL) | ||
url: 'https://github.com/couchbase/sync_gateway/blob/master/LICENSE' | ||
servers: | ||
- url: 'https://{hostname}:4985' | ||
description: Admin API | ||
variables: | ||
hostname: | ||
description: The hostname to use | ||
default: localhost | ||
paths: | ||
'/{db}/_session': | ||
$ref: './paths/admin/db-_session.yaml' | ||
x-capella: true | ||
'/{db}/_session/{sessionid}': | ||
$ref: './paths/admin/db-_session-sessionid.yaml' | ||
'/{db}/_user/{name}': | ||
$ref: './paths/admin/db-_user-name.yaml' | ||
'/{db}/_user/{name}/_session': | ||
$ref: './paths/admin/db-_user-name-_session.yaml' | ||
'/{db}/_user/{name}/_session/{sessionid}': | ||
$ref: './paths/admin/db-_user-name-_session-sessionid.yaml' | ||
'/{db}/_role/': | ||
$ref: './paths/admin/db-_role-.yaml' | ||
'/{db}/_role/{name}': | ||
$ref: './paths/admin/db-_role-name.yaml' | ||
|
||
externalDocs: | ||
description: Manage App Services for Mobile and Edge | Couchbase Docs | ||
url: 'https://docs.couchbase.com/cloud/app-services/index.html' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright 2022-Present Couchbase, Inc. | ||
# | ||
# Use of this software is governed by the Business Source License included | ||
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified | ||
# in that file, in accordance with the Business Source License, use of this | ||
# software will be governed by the Apache License, Version 2.0, included in | ||
# the file licenses/APL2.txt. | ||
|
||
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 | ||
license: | ||
name: Business Source License 1.1 (BSL) | ||
url: 'https://github.com/couchbase/sync_gateway/blob/master/LICENSE' | ||
servers: | ||
- url: 'https://{hostname}:4988' | ||
description: Metrics API | ||
variables: | ||
hostname: | ||
description: The hostname to use | ||
default: localhost | ||
paths: | ||
/metrics: | ||
$ref: ./paths/metric/metrics.yaml | ||
tags: | ||
- name: Prometheus | ||
description: Endpoints for use with Prometheus | ||
externalDocs: | ||
description: Manage App Services for Mobile and Edge | Couchbase Docs | ||
url: 'https://docs.couchbase.com/cloud/app-services/index.html' |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just a minor point.
How come this has been added here but nowhere else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this would work to use
filter-in
but it does not because filter-in only works if a property is defined. I think it'd be too much to remember to define a property on every operation.This was an artifact from a previous experiment. Any properties with
x-
are ignored by openapi and redocly unless redocly gives them special meanings.