Exemplo n.º 1
0
 /// <summary>
 /// Add a parameter for this operation
 /// </summary>
 /// <param name="parameter">
 /// The parameter.
 /// </param>
 /// <returns>
 /// The <see cref="SwaggerRootBuilder"/>.
 /// </returns>
 public SwaggerRootBuilder Parameter(ParameterBuilder parameter)
 {
     return(this.Parameter(parameter.Build()));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add a parameter for this operation
 /// </summary>
 /// <param name="parameter">
 /// The parameter.
 /// </param>
 /// <returns>
 /// The <see cref="PathItemBuilder"/>.
 /// </returns>
 public PathItemBuilder Parameter(ParameterBuilder parameter)
 {
     return(this.Parameter(parameter.Build()));
 }