Skip to content

Commit

Permalink
Update swagger doc version for Fulcio 1.0 (#816)
Browse files Browse the repository at this point in the history
* Update swagger doc version for Fulcio 1.0

The legacy API will be 1.0.0, and the gRPC V2 API 2.0.0

Signed-off-by: Hayden Blauzvern <[email protected]>

* Update generated code

Signed-off-by: Hayden Blauzvern <[email protected]>

* Update protoc

Signed-off-by: Hayden Blauzvern <[email protected]>

Signed-off-by: Hayden Blauzvern <[email protected]>
  • Loading branch information
haydentherapper authored Oct 7, 2022
1 parent dbb2c81 commit 78425b3
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
name: Install protobuf
with:
version: '3.20.1'
version: '3.20.3'

- name: Build
run: make -C $GITHUB_WORKSPACE all
Expand Down
2 changes: 1 addition & 1 deletion fulcio.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ option java_outer_classname = "FulcioProto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Fulcio";
version: "0.0.1";
version: "2.0.0";
contact: {
name: "sigstore Fulcio project";
url: "https://github.com/sigstore/fulcio";
Expand Down
2 changes: 1 addition & 1 deletion fulcio.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Fulcio",
"version": "0.0.1",
"version": "2.0.0",
"contact": {
"name": "sigstore Fulcio project",
"url": "https://github.com/sigstore/fulcio",
Expand Down
2 changes: 1 addition & 1 deletion fulcio_legacy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ option java_outer_classname = "FulcioProto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Fulcio Legacy";
version: "0.0.1";
version: "1.0.0";
contact: {
name: "sigstore Fulcio project";
url: "https://github.com/sigstore/fulcio";
Expand Down
2 changes: 1 addition & 1 deletion fulcio_legacy.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Fulcio Legacy",
"version": "0.0.1",
"version": "1.0.0",
"contact": {
"name": "sigstore Fulcio project",
"url": "https://github.com/sigstore/fulcio",
Expand Down
4 changes: 2 additions & 2 deletions pkg/generated/protobuf/fulcio.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/generated/protobuf/fulcio_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pkg/generated/protobuf/legacy/fulcio_legacy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/generated/protobuf/legacy/fulcio_legacy_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 78425b3

Please sign in to comment.