OpenAPI 3.1.0 support: add support for `pathDiscriminator` option
char0n opened this issue · 0 comments
char0n commented
The goal of this issue is to add support for pathDiscriminator
option to OpenAPI 3.1.0 resolution strategy. pathDisciminator
work in the following way:
- is a list of JSON Pointer tokens
- when not list of token, path Disciminator is not applied (needs confirmation)
- list of JSON Pointer tokens is compiled to JSON Pointer and evaluated against the provided definition
- only evaluated fragment is then resolved
- resolved fragment is transcluded to provided definition