Skip to content

change priority for body params #4

@deniskorbakov

Description

@deniskorbakov

we need to add logic so that if the #[BodyParam] attribute is present, the values from it will be substituted and not from the library's auto-generation

this should work as follows:

if the user has not added #[Bodyparam] then we output autogeneration

if the user has added #[Bodyparam] then we must change this particular field (there should be no complete rewriting)

also we must take into account that the field in #[Bodyparam] may not be in the Data class and then we add it to the existing fields in the documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions