openapi-pydantic
openapi-pydantic copied to clipboard
De-constructing/Resolving reference objects?
Is there a way of turning the reference objects back into the data structs they're referencing?
My usecase is I have arbitrary OpenAPI specs and I want to be able to transform any endpoint into a self-descriptive json blob. That means I can't have any references inside, I want to resolve them all.
Is there a way of doing so currently? Couldn't find any in the utils forward, although I found this happening the other way around.
Hi @RamiAwar - at the moment there is no reference resolver support in the library (also mentioned in #41) - i'd be happy to accept contributions to add the functionality however!
Will look into itt