Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default body #173

Open
snikoletopoulos opened this issue Feb 1, 2025 · 0 comments
Open

Add default body #173

snikoletopoulos opened this issue Feb 1, 2025 · 0 comments

Comments

@snikoletopoulos
Copy link

After importing a OpenAPI 3 swagger file, the request are almost ready to be used accept for the body.

It would be nice to have the json body parsed from the spec and left the values empty.
That way we wouldn't have to open the spec to look for the values that should be passed.

The spec can also provide examples, which can be used as a default value.

{
  "value": "",
  "optional_value": null,
  "value_with_default": "default"
}
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

No branches or pull requests

1 participant