This repository has been archived by the owner on Nov 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update-swagger-v2-support-openapi3' into add-scoring-me…
…dia-endpoint
- Loading branch information
Showing
6 changed files
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
openapi: '3.0.0' | ||
info: | ||
title: Scoring API - v2 | ||
title: Scoring API - v1.2.0-openapi3 | ||
description: >- | ||
This is a definition of the REST API for scoring from H2O. | ||
This API is intended to be used within DAI and eventually across all H2O scoring systems. | ||
This API combines both v1 and v1Exp in OPENAPI 3.0 spec. | ||
contact: | ||
email: [email protected] | ||
license: | ||
name: License | ||
url: 'http://www.h2o.ai' | ||
version: 1.3.0 | ||
version: 1.2.0-openapi3 | ||
servers: | ||
- url: / | ||
paths: | ||
|
@@ -173,15 +174,15 @@ paths: | |
schema: | ||
type: object | ||
properties: | ||
mediaScoreRequest: | ||
$ref: '#/components/schemas/MediaScoreRequest' | ||
scoreMediaRequest: | ||
$ref: '#/components/schemas/scoreMediaRequest' | ||
files: | ||
type: array | ||
items: | ||
type: string | ||
format: binary | ||
required: | ||
- mediaScoreRequest | ||
- scoreMediaRequest | ||
- files | ||
responses: | ||
'200': | ||
|
@@ -399,7 +400,7 @@ components: | |
type: array | ||
items: | ||
$ref: '#/components/schemas/Row' | ||
MediaScoreRequest: | ||
scoreMediaRequest: | ||
allOf: | ||
- $ref: '#/components/schemas/ScoreRequest' | ||
- properties: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"basePackage":"ai.h2o.mojos.deploy.common.rest.v1openapi3", | ||
"configPackage":"ai.h2o.mojos.deploy.common.rest.v1openapi3.config", | ||
"modelPackage": "ai.h2o.mojos.deploy.common.rest.v1openapi3.model", | ||
"apiPackage" : "ai.h2o.mojos.deploy.common.rest.v1openapi3.api", | ||
"interfaceOnly" : true | ||
} |
This file was deleted.
Oops, something went wrong.