Skip to content

requestBody missing content property #972

Closed
@essential-randomness

Description

@essential-randomness

Description

After the refactoring, requestBody is missing content as a nested property. To doublecheck that it is supposed to be there, I tried generating it with the npm version vs the one in github.

NPM version (what I expected):

    requestBody: {
      content: {
        "application/json": {
          /** Format: email */
          email?: string;
          label?: string;
        };
      };
    };

Current version (what I believe is wrong):

    requestBody: {
      "application/json": {
        /** Format: email */
        email?: string;
        label?: string;
      };
    };

Reproduction

Sync with the current codebase and run the generator. Note that the test is also missing this property.

Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplannedExpected in an upcoming version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions