@gala-chain/api ∙ API API > generateResponseSchema Function: generateResponseSchema() generateResponseSchema(type, isArray?): SchemaObject Parameters ▪ type: undefined | ClassConstructor | Primitive ▪ isArray?: "array" Source chain-api/src/utils/generate-schema.ts:135