This commit is contained in:
2023-01-03 00:04:38 +00:00
commit 3f002872e3
925 changed files with 181049 additions and 0 deletions
@@ -0,0 +1,35 @@
openapi: 3.0.0
info:
title: Test anonymous operations
version: 1.0.0
paths:
/withBoth:
get:
security: [{}, {"apikeyScheme": []}, {"apikeyScheme2": []}]
responses:
200:
description: asdadasd
/onlyEmpty:
get:
security: [{}]
responses:
200:
description: asdadasd
/required:
get:
security: [{"apikeyScheme": []}]
responses:
200:
description: asdadasd
security:
- apikeyScheme: []
components:
securitySchemes:
apikeyScheme:
name: test
type: apiKey
in: header
apikeyScheme2:
name: test2
type: apiKey
in: header
@@ -0,0 +1,7 @@
* {
color: red !important; /* for humans */
}
h4 {
display: none; /* for machines, used to trace whether this sheet is applied */
}
@@ -0,0 +1,10 @@
openapi: "3.0.0"
info:
title: Sequential Import Chaining
description: >
<h4>This h4 would be hidden by the injected CSS</h4>
This document tests the ability of a `<style>` tag in a Markdown field to pull in a remote stylesheet using an `@import` directive.
<style>@import url(/documents/security/sequential-import-chaining/injection.css);</style>
@@ -0,0 +1,10 @@
swagger: "2.0"
info:
title: Sequential Import Chaining
description: >
<h4>This h4 would be hidden by the injected CSS</h4>
This document tests the ability of a `<style>` tag in a Markdown field to pull in a remote stylesheet using an `@import` directive.
<style>@import url(/documents/security/sequential-import-chaining/injection.css);</style>
@@ -0,0 +1,5 @@
swagger: '2.0'
securityDefinitions:
a:
type: oauth2
authorizationUrl: javascript:alert(document.domain)//