Describe the bug you're encountering
Semantic highlighting is buggy for responses, e.g. it does not work when the default response is the last response defined:
When it is gone or defined as the first response:
Sometimes the highlighting will partially work, e.g. in this case the highlighting will work for every response expect for the default one, as well as the 200 key:
To reproduce...
Steps to reproduce the behavior:
- Go to https://editor-next.swagger.io/
- Load the OpenAPI 3.0 or 3.1 example
- Scroll through the definition to see responses for different operations
Describe the bug you're encountering
Semantic highlighting is buggy for responses, e.g. it does not work when the
defaultresponse is the last response defined:When it is gone or defined as the first response:
Sometimes the highlighting will partially work, e.g. in this case the highlighting will work for every response expect for the
defaultone, as well as the200key:To reproduce...
Steps to reproduce the behavior: