Skip to content

How can I use the .proto file to generate the code for one request and one response #7157

@RobertoHuang

Description

@RobertoHuang

image

I saw the above description in the official documentation

but after experimenting, I found the code I generated through the plugins for ways 1 and 2 is the same

image

environment: java1.8 maven plugins: protobuf-maven-plugin version 0.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions