Skip to content

fix(Import v5): Import multiline body parameter#8642

Merged
gatzjames merged 2 commits into
Kong:developfrom
gatzjames:fix/import-multiline-body-parameter
Apr 24, 2025
Merged

fix(Import v5): Import multiline body parameter#8642
gatzjames merged 2 commits into
Kong:developfrom
gatzjames:fix/import-multiline-body-parameter

Conversation

@gatzjames

@gatzjames gatzjames commented Apr 24, 2025

Copy link
Copy Markdown
Contributor

Overview:

Importing requests with a multipart/form-data mimeType where one of the parameters is multiline will fail since our schema expects a string (this was the type on our Request model) where we actually store it as a boolean.

Highlights:

  • Updates the type of multiline request body parameters to be boolean instead of string
  • Adds a request with multiline options to our e2e test

@gatzjames gatzjames self-assigned this Apr 24, 2025
@gatzjames gatzjames requested a review from a team April 24, 2025 08:14
@gatzjames gatzjames enabled auto-merge (squash) April 24, 2025 08:56
@gatzjames gatzjames merged commit 852f9bd into Kong:develop Apr 24, 2025
@gatzjames gatzjames deleted the fix/import-multiline-body-parameter branch April 24, 2025 09:35
cwangsmv pushed a commit that referenced this pull request Apr 25, 2025
* add request with multiline params and body properties

* fix multiline type on body parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants