We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to configure removing this from response? "$schema":"http://localhost:8000/api/v1/schemas/SomeSchema.json"
"$schema":"http://localhost:8000/api/v1/schemas/SomeSchema.json"
The text was updated successfully, but these errors were encountered:
@aleksicmarija yes, you can stop using the SchemaLinkTransformer that is present in the default config. See here:
SchemaLinkTransformer
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.
Sorry, something went wrong.
@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!
No branches or pull requests
Is it possible to configure removing this from response?
"$schema":"http://localhost:8000/api/v1/schemas/SomeSchema.json"
The text was updated successfully, but these errors were encountered: