-
Notifications
You must be signed in to change notification settings - Fork 67
Expand file tree
/
Copy pathEmpty.OpenApi.V2.yaml
More file actions
131 lines (131 loc) · 2.69 KB
/
Empty.OpenApi.V2.yaml
File metadata and controls
131 lines (131 loc) · 2.69 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
swagger: '2.0'
info:
title: 'OData Service for namespace '
description: This OData service is located at http://localhost
version: 1.0.0
host: localhost
schemes:
- http
paths: { }
definitions:
ODataErrors.ODataError:
type: object
required:
- error
properties:
error:
$ref: '#/definitions/ODataErrors.MainError'
ODataErrors.MainError:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
x-ms-primary-error-message: true
target:
type: string
x-nullable: true
details:
type: array
items:
$ref: '#/definitions/ODataErrors.ErrorDetails'
innerError:
$ref: '#/definitions/ODataErrors.InnerError'
ODataErrors.ErrorDetails:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
target:
type: string
x-nullable: true
ODataErrors.InnerError:
type: object
description: The structure of this object is service-specific
ODataCountResponse:
type: number
format: int64
ReferenceUpdate:
type: object
properties:
'@odata.id':
type: string
'@odata.type':
type: string
x-nullable: true
ReferenceCreate:
type: object
properties:
'@odata.id':
type: string
additionalProperties:
type: object
ReferenceNumeric:
type: string
enum:
- '-INF'
- INF
- NaN
x-nullable: true
parameters:
top:
in: query
name: $top
description: Show only the first n items
type: number
format: int64
minimum: 0
skip:
in: query
name: $skip
description: Skip the first n items
type: number
format: int64
minimum: 0
count:
in: query
name: $count
description: Include count of items
type: boolean
filter:
in: query
name: $filter
description: Filter items by property values
type: string
search:
in: query
name: $search
description: Search items by search phrases
type: string
refPostBody:
in: body
name: body
description: New navigation property ref value
required: true
schema:
$ref: '#/definitions/ReferenceCreate'
refPutBody:
in: body
name: body
description: New navigation property ref values
required: true
schema:
$ref: '#/definitions/ReferenceUpdate'
responses:
error:
description: error
schema:
$ref: '#/definitions/ODataErrors.ODataError'
ODataCountResponse:
description: The count of the resource
schema:
$ref: '#/definitions/ODataCountResponse'