Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Conversation

@osvaldo2627
Copy link

Allows the specification of a requestBody as a customValue for [POST, INT, PUT] methods.
For example:

  "/user": {
    "post": {
      "200": {
          "requestBody": {
              "name": "John Doe",
              "age": 15
          },
          "response": {
              "name": "John Doe"
          }
      }
    }
  }

I know that parsing parameters relays on the sway implementation. But "requestBody" from OAS 3 is still not supported and for OAS-3.X is not a parameter anymore.
What do you think about having this here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant