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,12 @@
swagger: "2.0"
info:
title: One
paths:
/:
get:
summary: an operation
responses:
"200":
description: OK
@@ -0,0 +1,12 @@
openapi: "3.0.0"
info:
title: Two
paths:
/:
get:
summary: an operation
responses:
"200":
description: OK
@@ -0,0 +1,38 @@
openapi: 3.0.1
info:
title: Server Variables - One
description: sample OAS 3 definition to test server variables with urls
version: 1.0.0
servers:
- url: "https://localhost:3200{basePath}"
variables:
basePath:
default: "/oneFirstUrl"
- url: "http://localhost:3201{basePath}"
variables:
basePath:
default: "/oneSecondUrl"
paths:
/a:
post:
summary: simple service A
requestBody:
content:
'application/json':
schema:
properties:
foo:
type: string
bar:
type: string
required:
- foo
type: object
required: true
responses:
200:
description: OK
content:
application/json:
schema:
type: 'string'
@@ -0,0 +1,38 @@
openapi: 3.0.1
info:
title: Server Variables - Two
description: sample OAS 3 definition to test server variables with urls
version: 1.0.0
servers:
- url: "https://localhost:3200{basePath}"
variables:
basePath:
default: "/twoFirstUrl"
- url: "http://localhost:3201{basePath}"
variables:
basePath:
default: "/twoSecondUrl"
paths:
/b:
post:
summary: simple service B
requestBody:
content:
'application/json':
schema:
properties:
foo:
type: string
bar:
type: string
required:
- foo
type: object
required: true
responses:
200:
description: OK
content:
application/json:
schema:
type: 'string'