guardrail-dev / guardrail-dev/guardrail

Missing `operationId` doesn't provide context as to where it's missing from

Open
#245 1 comment 4 reactions 0 assignees View on GitHub
core enhancement good first issue help wanted
Dominant language
Scala
Stars
541
Forks
138
PR merge metrics
No merged PRs in 30d

Description

Currently, leaving out an `operationId` logs `[ERROR] Error: Missing operationId` before halting codegen.

Without any context (JSON Path, parameters, even just logging the surrounding block) these kinds of issues can be hard to fix.

Lowest hanging fruit is to simply log the `Operation` along with the error.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.