-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I have checked the following:
- I've searched existing issues and found nothing related to my issue.
This feature
- blocks me from using Bruno
- would improve my quality of life in Bruno
- is something I've never seen an API client do before
Describe the feature you want to add, and how it would change your usage of Bruno
- Bruno 3.0.0-rc1
Potential problems when saving response examples to a single req_name.yml file.
- Saving a 200k-line JSON response in the request file seems inefficient. The file size will get too big if we add multiple examples.
- Image and binary files are even larger, and storing them as Base64 causes issues.
I’d like to request that req_name.yml only store metadata such as the URL, headers, params, and the response body file path. Please save the actual response body in a separate file within a subdirectory.
Mockups or Images of the feature
examples:
- name: example
request:
url: https://example.com
method: GET
headers:
- name: User-Agent
value: chrome
response:
statusText: OK
headers:
- name: content-type
value: application/json
body:
type: json
data: ./response/random_file_name
- name: example2
request:
url: https://example2.com
method: GET
headers:
- name: User-Agent
value: chrome2
response:
statusText: OK
headers:
- name: content-type
value: application/json
body:
type: json
data: ./response/d1k3_Ae1
coderabbitai
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request