output property

  1. @override
APISchemaObject get output
inherited

Describes the converts output using openapi3 component specs.

Implementation

@override
APISchemaObject get output {
  if (struct!.isSynthetic) return APISchemaObject.empty();
  return APISchemaObject()
    ..referenceURI = Uri(path: "/components/schemas/${struct!.serialName}");
}