This fixes return key behaviour in Chrome. Steps to reproduce: - open Swagger UI in Chrome - modify URL of swagger spec - hit 'return' Expected behaviour: load swagger.json from new URL Observed behaviour before applying this fix: the whole page will reload with the default swagger petstore URL in the input field.
1.8 MiB
1.8 MiB