Daniel G. Taylor

Results 335 comments of Daniel G. Taylor
trafficstars

This is good feedback to have, thanks! I'll look into that extension a bit and see if there is something that could be done to make this simpler. Definitely open...

@festo @arolek-glovebox please take and look at #736 & #728 and let me know if this addresses some of your concerns and makes things easier.

@jh125486 I think the intent was to just always fall back to JSON as that's the most common web API format and it helps when things may not be set...

You should definitely open an issue on the Stoplight Elements repo for the UI-related concerns. I don't have much control over that unfortunately! As for the missing `$schema` that is...

BTW I took a quick look at the schema generation code again and it currently has [two constraints](https://github.com/danielgtaylor/huma/blob/main/transforms.go#L53-L60) that prevent your example from working: 1. It assumes an operation's request/response...

Thank you! I'm glad you find it useful 😄

@spa5k yes I am trying to catch up on all the issues, and will keep going through the list as I can find the time. Sorry for the delay I...

@vkhobor no I believe this is correct. If a field is a pointer to e.g. a `string` and is `nil` then it will marshal in JSON as `null` (so is...

@kvizyx thanks for opening an issue! I think it this increases readability then I'd be happy to add it. Feel free to create a PR!

@superstas thanks this is a nice approach! I also think using a field tag could work to determine when to use a ref vs. when not to (important for refactoring...