usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.6k stars 1.27k forks source link

Issue with .yml Files for Open AI Spec Not Rendering in Bruno (Works for .yaml) #3461

Open ganesh-bruno opened 1 week ago

ganesh-bruno commented 1 week ago

I have checked the following:

Describe the bug

Description

When I try to open a .yml file from Open AI Spec option, it displayed nothing. However, when I use a .yaml file, it works as expected, and the content is shown correctly.

Steps to Reproduce

  1. Create a .yml file with valid YAML content.
  2. Open the .yml file in Bruno.
  3. The file appears blank with no content displayed.
  4. Create a .yaml file with the same content.
  5. Open the .yaml file in Bruno, and it displays correctly.

Expected Behavior

The content of both .yml and .yaml files should be displayed correctly in Bruno, regardless of the file extension.

Environment

.bru file to reproduce the bug

No response

Screenshots/Live demo link

https://github.com/user-attachments/assets/af086382-d085-4fa1-a37d-304d9995b78f