OpenAPI.NET
OpenAPI.NET copied to clipboard
Question about the scope of CurrentKeys
I noticed that members of CurrentKeys
seem to stay within the Paths
object. I was wondering if there was any specific reason for this?
I ask because when a visitor visits things in the Components
object it has no context in CurrentKeys
(i.e. all members are null
). I'm running into a situation where I cannot use CurrentKeys
to differentiate a schema at the root of Components
or a schema deeper down a branch. e.g. CurrentKeys
is the same for both #/components/schemas/Order
and #/components/parameters/status/schema
so I must parse PathString
.