<p>Josh Soref has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17184">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">spelling: segment<br><br>Change-Id: I6acf207e9bd2ee8b8e357a53c9b5f2529d90b193<br>---<br>M include/asterisk/ari.h<br>M rest-api-templates/asterisk_processor.py<br>2 files changed, 5 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/84/17184/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/asterisk/ari.h b/include/asterisk/ari.h</span><br><span>index 7f06db0..9777b8f 100644</span><br><span>--- a/include/asterisk/ari.h</span><br><span>+++ b/include/asterisk/ari.h</span><br><span>@@ -66,12 +66,12 @@</span><br><span> * \brief Handler for a single RESTful path segment.</span><br><span> */</span><br><span> struct stasis_rest_handlers {</span><br><span style="color: hsl(0, 100%, 40%);">- /*! Path segement to handle */</span><br><span style="color: hsl(120, 100%, 40%);">+ /*! Path segment to handle */</span><br><span> const char *path_segment;</span><br><span> /*! If true (non-zero), path_segment is a wildcard, and will match all</span><br><span> * values.</span><br><span> *</span><br><span style="color: hsl(0, 100%, 40%);">- * Value of the segement will be passed into the \a path_vars parameter</span><br><span style="color: hsl(120, 100%, 40%);">+ * Value of the segment will be passed into the \a path_vars parameter</span><br><span> * of the callback.</span><br><span> */</span><br><span> int is_wildcard;</span><br><span>diff --git a/rest-api-templates/asterisk_processor.py b/rest-api-templates/asterisk_processor.py</span><br><span>index ad88ebb..a47e63a 100644</span><br><span>--- a/rest-api-templates/asterisk_processor.py</span><br><span>+++ b/rest-api-templates/asterisk_processor.py</span><br><span>@@ -32,9 +32,9 @@</span><br><span> </span><br><span> </span><br><span> def simple_name(name):</span><br><span style="color: hsl(0, 100%, 40%);">- """Removes the {markers} from a path segement.</span><br><span style="color: hsl(120, 100%, 40%);">+ """Removes the {markers} from a path segment.</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- @param name: Swagger path segement, with {pathVar} markers.</span><br><span style="color: hsl(120, 100%, 40%);">+ @param name: Swagger path segment, with {pathVar} markers.</span><br><span> """</span><br><span> if name.startswith('{') and name.endswith('}'):</span><br><span> return name[1:-1]</span><br><span>@@ -84,7 +84,7 @@</span><br><span> self.full_name = None</span><br><span> #: Dictionary of child PathSegements</span><br><span> self.__children = OrderedDict()</span><br><span style="color: hsl(0, 100%, 40%);">- #: List of operations on this segement</span><br><span style="color: hsl(120, 100%, 40%);">+ #: List of operations on this segment</span><br><span> self.operations = []</span><br><span> </span><br><span> if self.name != name:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/17184">change 17184</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/17184"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6acf207e9bd2ee8b8e357a53c9b5f2529d90b193 </div>
<div style="display:none"> Gerrit-Change-Number: 17184 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>