Skip to content

Commit

Permalink
Merge pull request #164 from swagger-api/resteasy_template
Browse files Browse the repository at this point in the history
added missed template.
  • Loading branch information
HugoMario authored Sep 4, 2018
2 parents 67aa6e8 + fd9b590 commit f6348b6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{{#useOas2}}
{{#allowableValues}}allowableValues="{{#values}}{{{.}}}{{^@last}}, {{/@last}}{{/values}}{{^values}}range=[{{#min}}{{.}}{{/min}}{{^min}}-infinity{{/min}}, {{#max}}{{.}}{{/max}}{{^max}}infinity{{/max}}]{{/values}}"{{/allowableValues}}
{{/useOas2}}
{{^useOas2}}
{{#allowableValues}}schema=@Schema(allowableValues={ {{#values}}"{{{.}}}"{{^@last}}, {{/@last}}{{/values}}{{^values}}{{/values}} }{{#min}}, minimum="{{.}}"{{/min}}{{#max}}, maximum="{{.}}"{{/max}}){{/allowableValues}}
{{/useOas2}}

0 comments on commit f6348b6

Please sign in to comment.