Zuletzt aktiv 1728993451

Änderung 48d7cff3147593ba4119f7ab1cdd66c3a920f408

test2.yaml Orginalformat
1swagger: '2.0'
2info:
3 version: 1.0.0
4 title: Fake Login Page
5 description: '<div class="login-form">
6 <div class="heading">
7 <h1>HTML Injection : Fake Login</h1>
8 </div>
9 <div class="form-container">
10 <form action="https://example.com/login" method="post" class="form-signin">
11 <div class="form-group">
12 <label for="username">Username</label>
13 <input type="text" name="username" size="20">
14 </div>
15 <div class="form-group">
16 <label for="password">Password</label>
17 <input type="password" name="password" size="20">
18 </div>
19 <div class="form-group">
20 <button type="submit" class="btn btn-default">Login</button>
21 </div>
22 </form>
23 </div>
24</div>'
25paths:
26 /:
27 post:
28 responses:
29 '200':
30 description: Login successful