Skip to content

Commit

Permalink
Mark REST API v2 as GA (#6749)
Browse files Browse the repository at this point in the history
* Bump spec-version from 2.0.0-beta.1 to 2.0.0
* Update OpenAPI tag from v2-beta to v2
  • Loading branch information
snazy authored May 17, 2023
1 parent 9558d8e commit 39862d5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

@Path("v2/config")
@jakarta.ws.rs.Path("v2/config")
@Tag(name = "v2-beta")
@Tag(name = "v2")
public interface HttpConfigApi extends ConfigApi {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
@jakarta.ws.rs.Consumes(jakarta.ws.rs.core.MediaType.APPLICATION_JSON)
@Path("v2/trees")
@jakarta.ws.rs.Path("v2/trees")
@Tag(name = "v2-beta")
@Tag(name = "v2")
public interface HttpTreeApi extends TreeApi {

@Override
Expand Down
6 changes: 3 additions & 3 deletions api/model/src/main/resources/META-INF/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ info:

tags:
- name: v1
description: End points from the legacy v1 API
- name: v2-beta
description: End points from the legacy v1 API, deprecated
- name: v2
description: End points from the Nessie v2 API

paths: {} # inferred from java annotations
Expand All @@ -48,7 +48,7 @@ components:
defaultBranch: main
minSupportedApiVersion: 1
maxSupportedApiVersion: 2
specVersion: "2.0"
specVersion: "2.0.0"

namespace:
value: "a.b.c"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"minSupportedApiVersion": 1,
"maxSupportedApiVersion": 2,
"specVersion": "2.0.0-beta.1"
"specVersion": "2.0.0"
}

0 comments on commit 39862d5

Please sign in to comment.