swagger-editor icon indicating copy to clipboard operation
swagger-editor copied to clipboard

Resolver error: e is undefined

Open philsturgeon opened this issue 11 months ago • 1 comments

Q&A (please complete the following information)

  • OS: macOS
  • Browser: firefox
  • Version: 116.0.3 (64-bit)
  • Method of installation: online demo
  • Swagger-Editor version: n/a
  • Swagger/OpenAPI version: OpenAPI 3.0

Content & configuration

Example Swagger/OpenAPI definition:

openapi: 3.0.0
info:
  title: My API
  version: 1.0.0

paths:
  /things:
    get:
      responses: 
        '200':
          description: 'OK'
          
  /things/{id}:
    get:
      parameters: 
        - name: id 
          in: path
          required: true
          schema: 
            type: string
            format: uuid
      responses: 
        '200':
          description: 'OK'
          

Swagger-Editor configuration options:

Using the online demo at editor.swagger.io.

Describe the bug you're encountering

I have forgotten how to write OpenAPI so sufficiently that Swagger Editor doesn't even know how to tell me what the problem is. It's just throwing exceptions.

Screenshot 2023-09-25 at 10 41 24 AM

To reproduce...

Steps to reproduce the behavior:

  1. Go to https://editor.swagger.io/
  2. Paste the above YAML into the text box
  3. See error

Expected behavior

Looks valid enough to me.

philsturgeon avatar Sep 25 '23 09:09 philsturgeon

Hi @philsturgeon,

I'm sorry but I cannot reproduce. Used anonymous Google Chrome window and pasted your definition in. This is the result:

image

char0n avatar Oct 05 '23 11:10 char0n