-
Notifications
You must be signed in to change notification settings - Fork 2
/
SwaggerExample.yml
107 lines (107 loc) · 3.2 KB
/
SwaggerExample.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
swagger: '2.0'
info:
title: Serverless PowerShell API
description: ...because it's awesome
version: 1.0.0
contact:
name: Brian Bunke
url: http://www.brianbunke.com
email: [email protected]
host: bbpowershellapi.azurewebsites.net
basePath: /
schemes:
- https
- http
paths:
/api/PowerShellTeamGet:
get:
operationId: PowerShellTeamGet
description: Returns a listing of the most recent posts on the PowerShell Team's blog.
summary: Gets PowerShell Team posts
x-ms-summary: Gets PowerShell Team posts
produces:
- application/json
consumes: []
parameters:
- name: tag
in: query
required: false
type: string
description: Filter results to only blog posts with the specified tag
x-ms-summary: Blog post tag
x-ms-visibility: important
responses:
'200':
description: Details of up to 10 of the most recent blog posts
x-ms-summary: List of blog posts
schema:
type: object
properties:
date:
x-ms-summary: Date
description: The date the blog was posted
type: string
format: date-time
title:
x-ms-summary: Title
description: The blog post's title
type: string
description:
x-ms-summary: Description
description: A brief intro to the blog post
type: string
link:
x-ms-summary: Link
description: The URI to the blog post
type: string
security:
- apikeyQuery: []
/api/ScriptingGuysGet:
get:
operationId: ScriptingGuysGet
description: Returns a listing of the most recent posts on the Scripting Guys blog.
summary: Gets Scripting Guys posts
x-ms-summary: Gets Scripting Guys posts
produces:
- application/json
consumes: []
parameters:
- name: tag
in: query
required: false
type: string
description: Filter results to only blog posts with the specified tag
x-ms-summary: Blog post tag
x-ms-visibility: important
responses:
'200':
description: Details of up to 10 of the most recent blog posts
x-ms-summary: List of blog posts
schema:
type: object
properties:
date:
x-ms-summary: Date
description: The date the blog was posted
type: string
format: date-time
title:
x-ms-summary: Title
description: The blog post's title
type: string
description:
x-ms-summary: Description
description: A brief intro to the blog post
type: string
link:
x-ms-summary: Link
description: The URI to the blog post
type: string
security:
- apikeyQuery: []
definitions: {}
securityDefinitions:
apikeyQuery:
type: apiKey
name: code
in: query