Operation_Argument

struct

Represents a non-body input parameter (path, query, or header) passed to an operation.

Property Type Description
in String

Location of the argument in the HTTP request. Must be strictly one of: 'path', 'query', or 'header'. Do not use 'body' here, as request body payloads are defined using the operation 'payload' field.

name String

Name of the argument. If 'in' is 'path', this must match the variable fragment in the httpPath (e.g., 'id' for '/product/:id').

type String

Data type or type reference of the argument (e.g., 'string', 'integer', 'boolean', or a custom type name).

part of the Apioo-Project