Skip to content

Commit

Permalink
chore(openapi): migrate to openapi spec version 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zevisert committed Dec 3, 2023
1 parent fc273da commit aa37401
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions specification/protocol/open_inference_rest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

openapi: 3.0.0
openapi: 3.1.0
info:
title: Data Plane
version: '2.0'
Expand Down Expand Up @@ -249,7 +249,6 @@ components:
title: metadata_server_response
type: object
description: ''
x-examples: {}
properties:
name:
type: string
Expand Down Expand Up @@ -325,43 +324,6 @@ components:
inference_request:
title: inference_request
type: object
x-examples:
Example 1:
id: '42'
inputs:
- name: input0
shape:
- 2
- 2
datatype: UINT32
data:
- 1
- 2
- 3
- 4
- name: input1
shape:
- 3
datatype: BOOL
data:
- true
outputs:
- name: output0
Example 2:
id: '42'
outputs:
- name: output0
shape:
- 3
- 2
datatype: FP32
data:
- 1
- 1.1
- 2
- 2.1
- 3
- 3.1
properties:
id:
type: string
Expand All @@ -379,7 +341,6 @@ components:
- inputs
parameters:
title: parameters
x-examples: {}
type: object
request_input:
title: request_input
Expand Down

0 comments on commit aa37401

Please sign in to comment.