HackerNoon Mobile

Better reading experience on the app
Where is Your Deep Object in the Query?by@anatolii
855 reads

Where is Your Deep Object in the Query?

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

From version v3, the OpenApi standard brings another way to introduce query parameters via DeepObject. This approach helps to annotate and combine multiple related parameters in one general object. In a base query, you will use domain name, a path to a specific resource, and query parameters at the end. In the new way of query annotation, each of the query parameters will have a prefix - the name of the object or unique id in other words. And the properties will be surrounded by square brackets `[QUERY_PARAMTER]`

Company Mentioned

Mention Thumbnail
featured image - Where is Your Deep Object in the Query?
Anatolii Kabanov HackerNoon profile picture

@anatolii

Anatolii Kabanov


Receive Stories from @anatolii

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!