Fix documentation (#630)

* Fix missing documentation

* Add test

* Add test

* Format

* Reformat
This commit is contained in:
Adrien
2024-10-22 20:52:11 +02:00
committed by GitHub
parent 34b8249b91
commit c621ef8a8d
4 changed files with 64 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
syntax = "proto3";
package documentation;
// Documentation of message
message Test {
// Documentation of field
uint32 x = 1;
}
// Documentation of enum
enum Enum {
// Documentation of variant
Enum_Variant = 0;
}
// Documentation of service
service Service {
// Documentation of method
rpc get(Test) returns (Test);
}