Response schema expansion
For the response being generated, OpenAPI schema declarations determine the JSON shape. Object properties become named members, array schemas produce collections of their item shape, and primitive types become JSON strings, numbers, integers, booleans, or nulls where applicable. Nested and referenced schemas let the generated body reflect structures shared across multiple operations or responses.