Skip to content

Alternative approach to using JsonSchema.NET's global schema registry class for reference resolution #1555

@MaggieKimani1

Description

@MaggieKimani1

Currently, we use JsonSchema.NET's global SchemaRegistry class to resolve any $refs present in a JSON schema as per documentation: https://docs.json-everything.net/schema/basics/#schema-ref-resolution
However, this brings about a conflict in a scenario where we're trying to register OpenAPI files from different sovereign clouds with similar schema models. Holding two different cloud versions in memory might bring about a naming clash or the schema models will end up overriding each other which corrupts the resulting files.

Metadata

Metadata

Labels

type:epicA large piece of work that has other tasks linked to it

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions