pb33f / libopenapi

libopenapi is a fully featured, high performance OpenAPI 3.1, 3.0 and Swagger parser, library, validator and toolkit for golang applications.
https://pb33f.io/libopenapi/
Other
362 stars 46 forks source link

Support `$dynamicAnchor` and `$dynamicRef` #267

Open brandonbloom opened 2 months ago

brandonbloom commented 2 months ago

These keywords are defined in the JSON Schema 2020-12 dialect.

Release notes: https://json-schema.org/draft/2020-12/release-notes

These are useful for representing generics: https://json-schema.org/blog/posts/dynamicref-and-generics

Specification of dynamic scope rules: https://json-schema.org/draft/2020-12/json-schema-core#name-lexical-scope-and-dynamic-s

daveshanley commented 1 month ago

This is the first request for this I have seen, but yes, it should be supported.

hendrikheil commented 4 weeks ago

I'd love to set a bounty for implementing this feature in libopenapi! My team and me unfortunately can't tackle this ourselves, but I'd love to contribute to the project through a bounty for the implementation of this feature!

If anybody is interested in tackling this, I'm around on LinkedIn or on the pb33f discord #libopenapi channel 👍