OptionalbodyThe MIME type of the request body, if applicable (e.g., 'application/json').
OptionaldescriptionAn optional description of the endpoint's purpose or behavior.
OptionalinjectionA schema defining fields to inject into the request, if any.
OptionalisIndicates whether the request body is mandatory for the endpoint.
The HTTP method used by the endpoint (e.g., 'get', 'post').
The relative path of the endpoint (e.g., '/users').
OptionalrequestA schema defining the fields expected in the request, if any.
OptionalresponseA schema defining the fields returned in the response, if any.
OptionaltagsAn optional array of tags categorizing the endpoint.
Represents the structure of an API endpoint, including its path, method, schemas, and metadata.