Hey everyone!
I’m working on an API and trying to figure out the best way to handle openapi get from request json. Like, how do you guys extract specific fields from the JSON payload in your OpenAPI specs?
Is there a built-in way for OpenAPI to automatically parse and grab those fields, or do you usually write custom logic for it?
I’ve seen some folks use `schema` definitions to map the JSON structure, but I’m not sure if that’s the smoothest approach.
Also, any tips on validating the JSON while doing openapi get from request json? Would love to hear how y’all handle this!
Thanks in advance—kinda stuck here lol.
I’m working on an API and trying to figure out the best way to handle openapi get from request json. Like, how do you guys extract specific fields from the JSON payload in your OpenAPI specs?
Is there a built-in way for OpenAPI to automatically parse and grab those fields, or do you usually write custom logic for it?
I’ve seen some folks use `schema` definitions to map the JSON structure, but I’m not sure if that’s the smoothest approach.
Also, any tips on validating the JSON while doing openapi get from request json? Would love to hear how y’all handle this!
Thanks in advance—kinda stuck here lol.
