"$ref": "#/what/ever" in OpenAPI 3 JSON Specs "Unresolved reference"

In my OpenAPI 3 JSON Spec, I have a Login endpoint with this JSON: ```json

"application/json": {
"schema": {
"$ref": "#/components/schemas/Login"
}
}

```
But the ide underlines it in red and tells me that it can't find the reference. I am sure that the ```json
"components": {
"schemas": {
"Login": {
      }
    }
  }
```
Exist and the swaggers renderer works fine.


Image id: 2023_04_02_WQuFDVKrBM5uS1pgQ4fux4

2
3 comments

Hello Hackcraft. Unfortunately, you met the known issue; please see this bug report in our YouTrack. We already made the fix, but it wasn't added to the release yet; it should be implemented in the next bugfix release. 

0

Is there any update when the fix would be available? this is very annoying.

1

Dan Almog, regrettably, I couldn't share the particular date; we plan to release 2023.1.1 at the end of April.

0

Please sign in to leave a comment.