Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(openapi): migrate to openapi spec version 3.1.0 #15

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading