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

Conversation

zevisert
Copy link
Contributor

@zevisert zevisert commented Dec 3, 2023

Migrates the open inference protocol specification to openapi version 3.1.0.

I followed the upgrade guide posted by openapi: https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0

Closes #14

@zevisert
Copy link
Contributor Author

zevisert commented Dec 3, 2023

I removed the examples that were provided in #/components/schemas/inference_request, as they were misleading. The shape provided in each example did not match the data provided.

  • Example 1/input0 had shape [2, 2] but provided data [1, 2, 3, 4] of shape [4]
  • Example 1/input1 had shape [3] but provided data [true] of shape [1]
  • Example 2/output0 had shape [3, 2] but provided data [1, 1.1, 2, 2.1, 3, 3.1] of shape [6]

@zevisert zevisert merged commit 575de41 into main Dec 3, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to OpenAPI 3.1
1 participant