REA OpenAPI Generator notes (unofficial)
OpenAPI Generator configs and openapi.yaml / openapi.json specs pin HTTP API contract identity. In REA 6.7.x, treat selected generatorName / inputSpec / additionalProperties pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the OpenAPI tree (+ generated artifacts you hold).
- Quote selected generatorName / inputSpec / library pins you actually see (never paste API keys from examples).
- Cousins → asyncapi-yml · smithy-idl · protobuf-blobs.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_openapi_generatorAPI REA never called.
Minimal path
# authorized openapi.yaml / openapitools.json (+ artifact you hold)
# quote selected generatorName / inputSpec / additionalProperties into case notes
# cousins → peer AsyncAPI / Smithy / protobuf lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_openapi_generator .
Compare
| Artifact | Honest posture |
|---|---|
| OpenAPI Generator / openapi.yaml | HTTP API contract identity facts |
| AsyncAPI peer | rea-asyncapi-yml |
| Smithy peer | rea-smithy-idl |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Prefer quoting
openapiversion,info.title, andpathscount over dumping entire specs into binders. - Generator configs often live in
openapitools.jsonor Maven/Gradle plugins — label which file you opened. - Redact
servers.urlcredentials, securitySchemes secrets, and example Authorization headers. - Generated client/server trees are build outputs — analyze them via documented package/archive routes, not invented helpers.
- Keep OpenAPI REST contracts distinct from AsyncAPI event contracts and Smithy models in case notes.
Scope we will not cover
- No inventing
inspect_openapi_generator/ automatic remote generation against foreign projects. - No credential theft from securitySchemes or example tokens.
- No pirate redistribution of proprietary OpenAPI specs or generated SDKs.
- No crack framing via OpenAPI pins.
- No bypass cookbooks that strip auth from specs to attack foreign APIs.
Honest limits
RepoRead documents config literacy — how authorized OpenAPI Generator trees relate to Evidence — not a full OpenAPI Generator tutorial. Prefer the upstream docs for generator flags. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-asyncapi-yml / rea-protobuf-blobs?
rea-asyncapi-yml covers AsyncAPI event contracts; rea-protobuf-blobs covers protobuf artifacts. This page zooms on OpenAPI Generator / OpenAPI spec identity — it does not overwrite those pages.
Is there inspect_openapi_generator in 6.7.0?
Not assumed. Quote generatorName / inputSpec / additionalProperties pins you actually open, then use documented package/archive lanes. Do not invent inspect_openapi_generator.
Does REA run OpenAPI Generator or steal API keys from specs?
No. Local trees only. Redact bearer tokens and server credentials embedded in examples; do not treat REA as a code generator. No credential theft.
How should I label Evidence vs other IDL configs?
Label Evidence by the file present. Keep OpenAPI Generator separate from rea-asyncapi-yml, rea-smithy-idl, and rea-protobuf-blobs.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).