Asterisk - The Open Source Telephony Project  18.5.0
Public Member Functions
SwaggerPostProcessor Class Reference
Inheritance diagram for SwaggerPostProcessor:
Inheritance graph
[legend]
Collaboration diagram for SwaggerPostProcessor:
Collaboration graph
[legend]

Public Member Functions

def process_api (self, api, context)
 
def process_model (self, model, context)
 
def process_operation (self, operation, context)
 
def process_parameter (self, parameter, context)
 
def process_property (self, property, context)
 
def process_resource_api (self, resource_api, context)
 
def process_resource_listing (self, resource_listing, context)
 
def process_type (self, swagger_type, context)
 

Detailed Description

Post processing interface for model objects. This processor can add
fields to model objects for additional information to use in the
templates.

Definition at line 145 of file swagger_model.py.

Member Function Documentation

◆ process_api()

def process_api (   self,
  api,
  context 
)
Post process an Api object.

@param api: Api object.
@param context: Current context in the API.

Definition at line 158 of file swagger_model.py.

158  def process_api(self, api, context):
159  """Post process an Api object.
160 
161  @param api: Api object.
162  @param context: Current context in the API.
163  """
164  pass
165 

◆ process_model()

def process_model (   self,
  model,
  context 
)
Post process a Model object.

@param model: Model object.
@param context: Current context in the API.

Definition at line 182 of file swagger_model.py.

182  def process_model(self, model, context):
183  """Post process a Model object.
184 
185  @param model: Model object.
186  @param context: Current context in the API.
187  """
188  pass
189 

◆ process_operation()

def process_operation (   self,
  operation,
  context 
)
Post process a Operation object.

@param operation: Operation object.
@param context: Current context in the API.

Definition at line 166 of file swagger_model.py.

166  def process_operation(self, operation, context):
167  """Post process a Operation object.
168 
169  @param operation: Operation object.
170  @param context: Current context in the API.
171  """
172  pass
173 

◆ process_parameter()

def process_parameter (   self,
  parameter,
  context 
)
Post process a Parameter object.

@param parameter: Parameter object.
@param context: Current context in the API.

Definition at line 174 of file swagger_model.py.

174  def process_parameter(self, parameter, context):
175  """Post process a Parameter object.
176 
177  @param parameter: Parameter object.
178  @param context: Current context in the API.
179  """
180  pass
181 

◆ process_property()

def process_property (   self,
  property,
  context 
)
Post process a Property object.

@param property: Property object.
@param context: Current context in the API.

Definition at line 190 of file swagger_model.py.

190  def process_property(self, property, context):
191  """Post process a Property object.
192 
193  @param property: Property object.
194  @param context: Current context in the API.
195  """
196  pass
197 

◆ process_resource_api()

def process_resource_api (   self,
  resource_api,
  context 
)
Post process a ResourceApi object.

@param resource_api: ResourceApi object.
@param context: Current context in the API.

Definition at line 150 of file swagger_model.py.

150  def process_resource_api(self, resource_api, context):
151  """Post process a ResourceApi object.
152 
153  @param resource_api: ResourceApi object.
154  @param context: Current context in the API.
155  """
156  pass
157 

◆ process_resource_listing()

def process_resource_listing (   self,
  resource_listing,
  context 
)
Post process the overall ResourceListing object.

@param resource_listing: ResourceListing object.
@param context: Current context in the API.

Definition at line 206 of file swagger_model.py.

206  def process_resource_listing(self, resource_listing, context):
207  """Post process the overall ResourceListing object.
208 
209  @param resource_listing: ResourceListing object.
210  @param context: Current context in the API.
211  """
212  pass
213 
214 

◆ process_type()

def process_type (   self,
  swagger_type,
  context 
)
Post process a SwaggerType object.

@param swagger_type: ResourceListing object.
@param context: Current context in the API.

Definition at line 198 of file swagger_model.py.

198  def process_type(self, swagger_type, context):
199  """Post process a SwaggerType object.
200 
201  @param swagger_type: ResourceListing object.
202  @param context: Current context in the API.
203  """
204  pass
205 

The documentation for this class was generated from the following file: