-
Notifications
You must be signed in to change notification settings - Fork 175
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
[draft] Use a git submodule to include the OpenSearch.openapi.json file #627
[draft] Use a git submodule to include the OpenSearch.openapi.json file #627
Conversation
I like it! Let's document this in .md file(s), CHANGELOG, etc. |
Hello @jayaddison, could you please address the failing tests and implement the requested changes? Let's work towards getting this PR merged. |
…on.git Signed-off-by: James Addison <james@reciperadar.com>
Signed-off-by: James Addison <james@reciperadar.com>
Signed-off-by: James Addison <james@reciperadar.com>
… generation-from-specification Signed-off-by: James Addison <james@reciperadar.com>
Signed-off-by: James Addison <james@reciperadar.com>
Thanks for the ping @saimedhi. I'd paused here because I'm not certain that my Should I merge |
@Xtansia had some opinions about this direction, what do you recommend we do with this PR? |
@dblock @jayaddison Since we don't yet have a versioning & release process in place for the specs, I'm not completely against this approach for now as it's easy to change in the future. It's important to keep in mind the current proposal to swap the spec repo away from Smithy and at the same time a decent chance the final one-file "complete" spec will not be checked into Git and instead be released in some other manner. |
I think @Xtansia is saying that we won't have a submodule reference if/when we switch to OpenAPI. Let's see what happens with opensearch-project/opensearch-api-specification#189 before we decide on this? |
@dblock, @Xtansia: Now that opensearch-project/opensearch-api-specification#189 has been resolved, could you please share your thoughts on this PR? |
The spec is no longer committed to git but published as a release, so let's close it. |
Description
Instead of using an HTTP(S) request to retrieve the latest
main
OpenSearch.openapi.json spec fromopensearch-api-specification.git
, reference it as agit
submodule and read the contents from file.Issues Resolved
Resolves #626.
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.