Skip to content

Post requestBody not showing/generating #46

@diegofloresgonzales

Description

@diegofloresgonzales

I'm trying to add request body here for my post endpoint, I cannot, I have tried requestBody property and nothing.
As seen in the picture I've been able to add it manually in the json output but not from the yml config file
imagen

endpoints:
    createPerson:
      summary: Crear personaje
      description: Crea un personaje nuevo en la BD.
      requestBody:
        description: "Body param"
      requestModels:
        application/json: RequestObject

Basically this object is not being generated I have to add it manually for it to work

imagen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions