contracts/common.md#principled-implementation The metadata is defined on the class prototype and property key, from an object or its JSON text, which is the key the reflection analyzers look up.
contracts/common.md#clear-and-simple-design One decorator that parses when given text and defines one metadata entry.
contracts/common.md#prohibited-implementation-shortcuts It only records what the transform computed and does not alter the method.
Carries the compile-time operation metadata the SDK / Swagger / e2e generators read through
Reflect.getMetadata("nestia/OperationMetadata").The
@nestia/sdknative transform injects this decorator as a synthesized AST node, so its argument is a single JSON string literal rather than an object literal — keeping the constructed node tree minimal. The string is parsed once here at module-evaluation time. A pre-parsedIOperationMetadataobject is still accepted for hand-written or test usage.