Skip to content

Commit

Permalink
chore(core): upgrade CheckNamespace endpoint version to v1beta (#231)
Browse files Browse the repository at this point in the history
Because

- we are going to release beta version of Core and VDP

This commit

- upgrade CheckNamespace endpoint version to v1beta
  • Loading branch information
donch1989 authored Dec 6, 2023
1 parent f24f6bd commit 153c3da
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion core/mgmt/v1beta/mgmt_public_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ service MgmtPublicService {
// Check namespace
rpc CheckNamespace(CheckNamespaceRequest) returns (CheckNamespaceResponse) {
option (google.api.http) = {
post: "/v1alpha/check-namespace"
post: "/v1beta/check-namespace"
body: "namespace"
};
option (google.api.method_signature) = "namespace";
Expand Down
48 changes: 24 additions & 24 deletions openapiv2/openapiv2.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1040,30 +1040,6 @@ paths:
type: boolean
tags:
- ModelPrivateService
/v1alpha/check-namespace:
post:
summary: Check namespace
operationId: MgmtPublicService_CheckNamespace
responses:
"200":
description: A successful response.
schema:
$ref: '#/definitions/v1betaCheckNamespaceResponse'
default:
description: An unexpected error response.
schema:
$ref: '#/definitions/googlerpcStatus'
parameters:
- name: namespace
description: body
in: body
required: true
schema:
$ref: '#/definitions/CheckNamespaceRequestCheckNamespaceRequestBody'
required:
- namespace
tags:
- MgmtPublicService
/v1alpha/health/controller:
get:
summary: |-
Expand Down Expand Up @@ -5405,6 +5381,30 @@ paths:
$ref: '#/definitions/googlerpcStatus'
tags:
- MgmtPublicService
/v1beta/check-namespace:
post:
summary: Check namespace
operationId: MgmtPublicService_CheckNamespace
responses:
"200":
description: A successful response.
schema:
$ref: '#/definitions/v1betaCheckNamespaceResponse'
default:
description: An unexpected error response.
schema:
$ref: '#/definitions/googlerpcStatus'
parameters:
- name: namespace
description: body
in: body
required: true
schema:
$ref: '#/definitions/CheckNamespaceRequestCheckNamespaceRequestBody'
required:
- namespace
tags:
- MgmtPublicService
/v1beta/connector-definitions:
get:
summary: |-
Expand Down

0 comments on commit 153c3da

Please sign in to comment.