Skip to content

ignore doesn't really ignore! #1499

@omid

Description

@omid

It doesn't ignore and still care about the property!

For example, in the following case:

struct Y;

#[derive(ToSchema)]
struct X {
    #[schema(ignore)]
    field: Y
}

Y still needs to have ToSchema and PartialSchema implemented.

And I'll be able to see Y object in the final OpenAPI documentation.

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