Skip to content

mal-formatted markdown files : Multi-Line Comments for RPCs in services and fields in messages #366

@frolickingferret445

Description

@frolickingferret445

I am currently trying to generate a .md markdown file from a .proto protocol buffer file. I am having issues with multi-line comments that have empty lines for spacing. This style of comment works for messages and services, but not for the fields within a message or the RPCs within a service. I looked at the examples, but they all showed only one-line comments, not multi-line comments.

I need to be able to add empty lines to the comments in the .proto file for it to successfully generate swagger documentation. Is there something I am missing? Is this a bug, or is there a reason why this is not allowed?

I have included a link to a sample .proto file and resulting .md file that reproduce this issue:

https://github.com/frolickingferret445/proto-gen-doc-error-example

Any help is appreciated.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions