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

Resolver error: e is undefined #4458

Open
philsturgeon opened this issue Sep 25, 2023 · 1 comment
Open

Resolver error: e is undefined #4458

philsturgeon opened this issue Sep 25, 2023 · 1 comment

Comments

@philsturgeon
Copy link

philsturgeon commented Sep 25, 2023

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.

@char0n
Copy link
Member

char0n commented Oct 5, 2023

Hi @philsturgeon,

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants