Replies: 1 comment
-
|
This is complicated to automate, because references in JSON schema are usually placed differently than in OpenAPI (not in Could you share an example of such an exposer to have a better understanding of the case? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Say we have a struct that declares its own schema by virtue of being an
exposer(i.e. implementsJSONSchema() (jsonschema.Schema, error)). And suppose that this json-schema in turn relies on its own set of definitions / references, how do we ensure that those definitions end up in the final schema file ? Right now I am finding that they get stripped, leaving an invalid spec with unresolved references.Beta Was this translation helpful? Give feedback.
All reactions