Skip to content
GitmoapAPIBeta
Schema

NodePortSpec

One input or output port declaration.

Shape

  • namePortName (string)
  • port_typePortTypegit_refartifactcontainer_imagetest_reportdeployment_refcredentialsevidencevaluecustomWhat kind of data a port carries. Two ports connect only when their types match.
  • requiredboolean
  • cardinalityPortCardinalityonemanyoptionalHow many connections this port accepts (input ports only). A many input waits for every connection feeding it.
  • schema_idPortSchemaId (string) or nulloptionalFor a custom port, the id of the schema it carries (e.g. aws.ecs.task-definition/v1).

Example

Synthesized example
{
"name": "payments-api",
"port_type": "git_ref",
"required": false,
"cardinality": "one",
"schema_id": "145a52d7-3851-412d-8c0e-baa07b6d10ad"
}

Graph

Used inside
Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.