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

When importing a Chinese api document, the interface name will be displayed as a symbol when it is in Chinese, "------". #3211

Open
1 task done
liubq opened this issue Sep 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@liubq
Copy link

liubq commented Sep 27, 2024

I have checked the following:

  • I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add

Looking forward to support Chinese import

Mockups or Images of the feature

example json(test.json):
{ "name": "测试", "version": "1", "items": [ { "type": "folder", "name": "测试接口", "items": [ { "type": "http", "name": "获取用户信息", "seq": 1, "request": { "url": "{{host}}/api/getuser", "method": "GET", "headers": [ { "name": "time", "value": "2024年8月18日19:13:351", "enabled": true } ], "params": [], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "script": {}, "vars": {}, "assertions": [], "tests": "", "auth": { "mode": "inherit" } } } ] }, { "type": "folder", "name": "登录", "items": [ { "type": "http", "name": "登录获取Token", "seq": 1, "request": { "url": "{{host}}/api/login", "method": "POST", "headers": [], "params": [], "body": { "mode": "json", "json": "{\n \"account\": \"admin\",\n \"password\": \"123456\",\n \"codeId\": 0,\n \"code\": \"string\",\n \"clientId\": \"string\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "script": { "res": "\nbru.setEnvVar(\"token\",res.getBody().result.accessToken);" }, "vars": {}, "assertions": [], "tests": "", "auth": { "mode": "none" } } } ] } ], "activeEnvironmentUid": "Nmsermr3uv8oyIlRsg2p4", "environments": [ { "variables": [ { "name": "host", "value": "http://localhost:5005", "enabled": true, "secret": false, "type": "text" } ], "name": "localhost" } ], "root": { "request": { "auth": { "mode": "bearer", "bearer": { "token": "{{token}}" } } } }, "brunoConfig": { "version": "1", "name": "测试", "type": "collection", "ignore": [ "node_modules", ".git" ] } }

@liubq liubq added the enhancement New feature or request label Sep 27, 2024
@brandonxiang
Copy link

image

Chinese word disappeared

@wsldl123292
Copy link

please fix it

brandonxiang added a commit to brandonxiang/bruno that referenced this issue Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants