Skip to content

Commit 0501ae9

Browse files
committed
Scaffold openapiv3 plugin
1 parent a070de7 commit 0501ae9

File tree

112 files changed

+22799
-15041
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+22799
-15041
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
"bazel.buildifierExecutable": "/go/bin/buildifier",
2020
"bazel.buildifierFixOnFormat": true,
2121
"bazel.enableCodeLens": true,
22-
"extensions": ["golang.Go", "bazelbuild.vscode-bazel"]
22+
"extensions": [
23+
"golang.Go",
24+
"bazelbuild.vscode-bazel"
25+
]
2326
}
2427
}
25-
}
28+
}

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ proto:
151151
--template ./protoc-gen-openapiv2/options/buf.gen.yaml \
152152
--path ./protoc-gen-openapiv2/options/annotations.proto \
153153
--path ./protoc-gen-openapiv2/options/openapiv2.proto
154+
buf generate \
155+
--template ./protoc-gen-openapiv3/options/buf.gen.yaml \
156+
--path ./protoc-gen-openapiv3/options/annotations.proto \
157+
--path ./protoc-gen-openapiv3/options/openapiv3.proto
154158

155159
generate: proto $(ECHO_EXAMPLE_SRCS) $(ABE_EXAMPLE_SRCS) $(UNANNOTATED_ECHO_EXAMPLE_SRCS) $(RESPONSE_BODY_EXAMPLE_SRCS) $(GENERATE_UNBOUND_METHODS_EXAMPLE_SRCS)
156160

examples/internal/clients/abe/api_camel_case_service_name.go

Lines changed: 0 additions & 180 deletions
This file was deleted.

0 commit comments

Comments
 (0)