Skip to content

doc: Inconsistency in the description of parameter enumeration value #5599

@ez4bk

Description

@ez4bk

The text description says the enum to be separated by English comma and gives an example of so, but the following code block separates enum values by |.

Image

And in Chinese version, the text section also says enum values are separated by English comma but gives an example of |.

Image

https://go-zero.dev/guides/http/server/request-body/#parameter-enumeration-value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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