You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
Example swagger given below. The goal is to read the value foovalue specified for the default parameter of foo, assuming default is in a logical location.
This would require some magic in AbstractSwagger1XImporter.groovy, assuming complex types (object) would need to be handled in some way. (see line 119 in the below image).
The result is that the query parameter's value is populated for all requests (swagger paths) that reference the parameter, as shown below.
The text was updated successfully, but these errors were encountered:
wxdave
changed the title
Read default value of a swagger "definition" object and populate the relevant request parameter value.
Read default value of a swagger "parameter" object and populate the relevant request parameter value.
Dec 14, 2018
Example swagger given below. The goal is to read the value
foovalue
specified for thedefault
parameter offoo
, assumingdefault
is in a logical location.This would require some magic in
AbstractSwagger1XImporter.groovy
, assuming complex types (object) would need to be handled in some way. (see line 119 in the below image).The result is that the query parameter's value is populated for all requests (swagger paths) that reference the parameter, as shown below.
The text was updated successfully, but these errors were encountered: