struct

Noir::CLI::Inspect::Row

Inherits JSON::Serializable < Struct < Value < Object

One output row. Compact by default: a projection of what Endpoint already carries, empty buckets omitted. --full carries the unchanged endpoint instead, so an agent escalates without learning a second schema.

Constructors

build(endpoint : Endpoint, full : Bool) : Row
Source
compact(endpoint : Endpoint) : Row
Source
full(endpoint : Endpoint) : Row
Source
new(method : String, url : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

callees
Source
callees=(callees : Array(String))
Source
declarations

How many files declare this route (the optimizer merges copies). Set only above one, so the agent knows path is one of several.

Source
declarations=(declarations : Int32 | Nil)

How many files declare this route (the optimizer merges copies). Set only above one, so the agent knows path is one of several.

Source
endpoint
Source
endpoint=(endpoint : Endpoint | Nil)
Source
guards
Source
guards=(guards : Array(String))
Source
handler
Source
handler=(handler : Handler | Nil)
Source
line
Source
line=(line : Int32 | Nil)
Source
matched_by
Source
matched_by=(matched_by : String | Nil)
Source
method
Source
method=(method : String)
Source
nearest_line
Source
nearest_line=(nearest_line : Int32 | Nil)
Source
params
Source
params=(params : Array(String))
Source
path
Source
path=(path : String | Nil)
Source
project

The monorepo project the route belongs to (details.project); set only when it has one.

Source
project=(project : String | Nil)

The monorepo project the route belongs to (details.project); set only when it has one.

Source
signals
Source
signals=(signals : Array(String))
Source
sinks
Source
sinks=(sinks : Array(String))
Source
tags
Source
tags=(tags : Array(String))
Source
tech
Source
tech=(tech : String | Nil)
Source
to_text
Source
url=(url : String)
Source