File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ swagger : ' 2.0'
2+ info :
3+ version : 0.0.0
4+ title : title<script language="javascript">alert('1')</script>
5+ description : description with **markdown** format <script language="javascript">alert('2')</script>
6+ tags :
7+ - name : Admin
8+ description : tag with **markdown**
9+ - name : Xss<script language="javascript">alert('3')</script>
10+ description : tag with **markdown**<script language="javascript">alert('4')</script>
11+ paths :
12+ /test :
13+ get :
14+ description : description with **markdown** format
15+ summary : a summary with **markdown** format
16+ responses :
17+ 200 :
18+ description : a description with **markdown** format
19+ schema :
20+ $ref : ' #/definitions/User'
21+ post :
22+ description : <script language="javascript">alert('5')</script>
23+ summary : <script language="javascript">alert('6')</script>
24+ consumes :
25+ - <script language="javascript">alert('7')</script>
26+ produces :
27+ - <script language="javascript">alert('8')</script>
28+ tags :
29+ - Admin tasks<script language="javascript">alert('9')</script>
30+ responses :
31+ 200 :
32+ description : nothing<script language="javascript">alert('10')</script>
33+ definitions :
34+ User :
35+ description : also with **markdown**
36+ properties :
37+ name :
38+ description : prop with **markdown**
39+ type : string
40+ email :
41+ $ref : ' #/definitions/Email'
42+ Email :
43+ description : <script language="javascript">alert('11')</script>
44+ type : string
45+ format : email
46+ example : <script language="javascript">alert('12')</script>
You can’t perform that action at this time.
0 commit comments