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

OpenAPI spec for Jupyter Workflows #531

Open
wants to merge 1 commit into
base: dag-scheduling
Choose a base branch
from

Conversation

nsingl00
Copy link
Collaborator

No description provided.

@nsingl00 nsingl00 changed the base branch from main to dag-scheduling June 24, 2024 21:20
@nsingl00 nsingl00 force-pushed the workflow_openapi branch 2 times, most recently from 7d800f3 to 5d8fb4c Compare June 24, 2024 21:32
@andrii-i andrii-i added enhancement New feature or request documentation Improvements or additions to documentation labels Jun 24, 2024
@nsingl00 nsingl00 force-pushed the workflow_openapi branch 2 times, most recently from 9ee87f8 to 0c60643 Compare June 28, 2024 21:57
Copy link
Collaborator

@andrii-i andrii-i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nsingl00. Thank you for opening and rebasing this PR. Currently there are some .yaml formatting errors. I left suggestions on and comments about fixing them, could you please give them a look? Using IDE with .yaml linting should highlight all the errors mentioned.

Some OpenAPI tools that I find useful:

api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
api/openapi.yaml Outdated Show resolved Hide resolved
Copy link
Collaborator

@andrii-i andrii-i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the update @nsingl00. Currently some models / components referenced in the spec are missing from the components section: CreateJobFromDefinition, RuntimeEnvironment, DSNamespace, JobFile. Could you please add these missing models / components to the spec?

content:
application/json:
schema:
$ref: '#/components/schemas/CreateJobFromDefinition'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

content:
application/json:
schema:
$ref: '#/components/schemas/CreateJobFromDefinition'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

schema:
type: array
items:
$ref: '#/components/schemas/RuntimeEnvironment'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

schema:
type: array
items:
$ref: '#/components/schemas/DSNamespace'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

content:
application/json:
schema:
$ref: '#/components/schemas/DSNamespace'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

content:
application/json:
schema:
$ref: '#/components/schemas/DSNamespace'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

content:
application/json:
schema:
$ref: '#/components/schemas/DSNamespace'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

job_files:
type: array
items:
$ref: '#/components/schemas/JobFile'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Failed to resolve reference" error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants