Skip to content

Commit

Permalink
Remove duplicated endraw statement for documentation generation (#2589)
Browse files Browse the repository at this point in the history
* Remove duplicated endraw statement for documentation generation

This was accidentally copy pasted in my last PR, breaking documentation generation.

#2578

* Remove proto3 reference for code block

* Fix code block format

* proto -> protobuf
  • Loading branch information
BCook98 authored Mar 16, 2022
1 parent e4a042d commit c5b969a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/docs/mapping/customizing_openapi_output.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ Output json:
]
},
```
{% endraw %}

### Hiding fields, methods, services and enum values

Expand Down Expand Up @@ -317,7 +316,7 @@ Note: Annotations are only supported on Services, Methods, Fields and Enum Value
`opt: visibility_restriction_selectors=PREVIEW` will result in:

Input Example:
```proto3
```protobuf
service Echo {
rpc EchoInternal(VisibilityRuleSimpleMessage) returns (VisibilityRuleSimpleMessage) {
option (google.api.method_visibility).restriction = "INTERNAL";
Expand Down

0 comments on commit c5b969a

Please sign in to comment.