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

API cleanup #58

Merged
merged 1 commit into from
May 5, 2023
Merged

API cleanup #58

merged 1 commit into from
May 5, 2023

Conversation

joelanford
Copy link
Member

@joelanford joelanford commented Apr 28, 2023

In preparation for more drastic changes to our APIs, I've gone through and cleaned up stuff that is not currently used. This should make it easier to review future substantive changes to the APIs.

This PR also changes the BundleMetadata property type to use runtime.RawExtension instead of []byte, which is necessary to correctly serialize/deserizalize property values. (discussed here)

@joelanford joelanford changed the title remove unused stuff from APIs API cleanup Apr 28, 2023
@@ -18,7 +17,7 @@ spec:
- name: v1beta1
schema:
openAPIV3Schema:
description: Package
description: Package is the Schema for the packages API
Copy link
Contributor

@grokspawn grokspawn Apr 28, 2023

Choose a reason for hiding this comment

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

Can we use apostrophe for possessives in the spec?

Suggested change
description: Package is the Schema for the packages API
description: Package is the Schema for the package's API

Copy link
Member Author

Choose a reason for hiding this comment

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

This is meant to be plural (e.g. the resource name).

Copy link
Collaborator

@anik120 anik120 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label May 1, 2023
anik120

This comment was marked as duplicate.

Copy link
Collaborator

@everettraven everettraven left a comment

Choose a reason for hiding this comment

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

/lgtm

@everettraven everettraven merged commit 8427196 into main May 5, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants