OpenAPI: Validate $ref
Posted: Thu Jun 26, 2025 2:23 pm
I'm trying to write an OpenAPI yaml document and do not get warned about invalid (non-existing) $ref values.
Example:
Here the does not exist.
Should Oxygen XML editor validate those?
I'm using the latest version 27.1, build 2025041508.
Example:
Code: Select all
---
openapi: 3.1.0
info:
version: 1.0.0
title: Example.com
servers:
- url: http://example.com/api/v1
paths:
/user:
get:
summary: Get user by user name
responses:
"200":
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/NoUser'
components:
schemas:
User:
type: object
properties:
username:
description: User supplied username
type: string
Code: Select all
$ref: '#/components/schemas/NoUser'
Should Oxygen XML editor validate those?
I'm using the latest version 27.1, build 2025041508.