Skip to content

Commit

Permalink
chore: keep internal OpenAPI
Browse files Browse the repository at this point in the history
The OpenAPI definitions for endpoints that haven't been corrected yet
are still useful, though maybe not ready for public visibility. An
internal OpenAPI document is generated to preserve these definitions.
  • Loading branch information
jvallesm committed Dec 20, 2023
1 parent d368413 commit abe45ec
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ plugins:
- allow_merge=true,merge_file_name=openapiv2
- version=true
- omit_enum_default_value=true
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.15.2
out: openapiv2/internal
opt:
- output_format=yaml
- json_names_for_fields=false
- allow_merge=true,merge_file_name=openapiv2
- version=true
- omit_enum_default_value=true
- visibility_restriction_selectors=INTERNAL
- plugin: buf.build/community/pseudomuto-doc:v1.5.1
out: gen/grpc-doc
opt:
Expand Down

0 comments on commit abe45ec

Please sign in to comment.