question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When typing at http://editor.swagger.io/ using Chinese input method , It occurs that all I have input suddenly disappear

See original GitHub issue
Q A
Bug or feature request? Bug
Which Swagger/OpenAPI version? 2.0
Which Swagger-Editor version? http://editor.swagger.io/
How did you install Swagger-Editor? use online
Which browser & version? Google Chrome 64.0.3282.186
Which operating system? Windows 10.0

Demonstration API definition

swagger: "2.0"
info: 
  version: "0.0.1"
  title: 项目
# during dev, should point to your local machine
host: 192.168.31.226:3005
# Path prefixes all resource paths 
basePath: /
# 
schemes:
  # tip: remove http to make production-grade
  - http
# format of bodies a client can send (Content-Type)
consumes:
  - application/json
# format of the responses to the client (Accepts)
produces:
  - application/json
paths:
  /trade_dates:
    x-swagger-router-controller: collection
    get:
      description: 返回交易日的数组
      parameters:
        - $ref: '#/parameters/count'
      responses:
        "200":
          description: Success
          schema:
            $ref: "#/definitions/trade_dates"
        default:
          description: Error
          schema:
            $ref: "#/definitions/ErrorResponse"

Configuration (browser query string, constructor, config.yaml)

{
  "your": { "constructorConfig": "here" }
}

?yourQueryStringConfig=here

Expected Behavior

Current Behavior

Possible Solution

Context

I am using the online swagger editor to identify there is no error in my documentation. But when I typed some Chinese words, all I have input suddenly disappeared. I lost the work I have done… By the way, in the early day, I mean fourth quarter of last year roughly, there was no such defect.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
webroncommented, Apr 8, 2018

@shockey perhaps the first step would be to file a ticket with Ace?

1reaction
ealphacommented, Mar 21, 2018

i have the same issues , chrome is 65.0.3325.181

default

Read more comments on GitHub >

github_iconTop Results From Across the Web

chinese language bar disappear when typing in internet
Hi, When I am typing Chinese characters in the internet using win8, the language bar will disappear by itself along the way.
Read more >
Catalina Chinese Input Problem (can only - Apple Discussions
Weird Chinese Input occurred! I can only input single word! When trying to input 2 words, no more "underlined" and turned to english...
Read more >
How to fix java.lang.RuntimeException: missing swagger input ...
You are using Swagger Codegen 2.x which does not support OpenAPI 3.0. You need to use Swagger Codegen 3.x instead.
Read more >
Chapter 6. Enabling Chinese, Japanese, or Korean text input
Input methods. Certain scripts, such as Chinese, Japanese, or Korean, require keyboard input to go through an Input Method Engine (IME) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found