Open aleksicmarija opened 4 months ago
@aleksicmarija yes, you can stop using the SchemaLinkTransformer
that is present in the default config. See here:
https://github.com/danielgtaylor/huma/blob/main/defaults.go#L53
You can either define your own config yourself, or use the default but reset the create hooks to prevent the link transformer from running.
@aleksicmarija yes, you can stop using the
SchemaLinkTransformer
that is present in the default config. See here:https://github.com/danielgtaylor/huma/blob/main/defaults.go#L53
You can either define your own config yourself, or use the default but reset the create hooks to prevent the link transformer from running.
Thanks!
Is it possible to configure removing this from response?
"$schema":"http://localhost:8000/api/v1/schemas/SomeSchema.json"