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

Build OpenAPI spec on PR and correct path #88

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

Xtansia
Copy link
Collaborator

@Xtansia Xtansia commented Apr 11, 2023

Description

Build the OpenAPI spec on PR to validate the Smithy model, not only main builds.
Also correct the path to the built spec that changed due to #73

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Thomas Farr <tsfarr@amazon.com>
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
uses: actions/upload-artifact@v3
with:
name: opensearch-openapi
path: ./OpenSearch.openapi.json
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this uploading artifact step so that it can be used in other workflows? Or some other purpose?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Purely just for ease of pulling the built spec from PRs and such, not necessary though. Can remove it if preferred

Copy link
Collaborator

Choose a reason for hiding this comment

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

Makes sense. We can certainly keep it.

@VachaShah VachaShah merged commit d02476f into opensearch-project:main Apr 11, 2023
@Xtansia Xtansia deleted the build-model-on-pr branch April 11, 2023 05:56
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.

2 participants