-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improves Java SDK generation #52
Conversation
removing the security fields generates a client that is incapable of using bearer tokens. derp
i believe the older version of kind has issues with k8s v1.24
and pushes JARs for branches
hopefully
so we can evaluate the branch name within the generate script
and updates gh action plugin versions
notating changes to both images
// name = strings.ReplaceAll(name, "github.com/dominodatalab/hephaestus/pkg/api/hephaestus/v1", "") | ||
// name = strings.ReplaceAll(name, "k8s.io/apimachinery/pkg/apis/meta/", "") | ||
// | ||
// return name | ||
} | ||
|
||
// func walkOperation(op *spec3.Operation) { | ||
// if reqBody := op.RequestBody; reqBody != nil { | ||
// for _, mediaType := range reqBody.Content { | ||
// if schema := mediaType.Schema; schema != nil { | ||
// ref := schema.Ref | ||
// | ||
// switch { | ||
// case strings. | ||
// } | ||
// } | ||
// } | ||
// } | ||
// | ||
// for _, response := range op.Responses.StatusCodeResponses { | ||
// for _, mediaType := range response.Content { | ||
// if schema := mediaType.Schema; schema != nil { | ||
// schema.Ref = refFunc(schema.Ref.String()) | ||
// } | ||
// } | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going to be used for something in a follow-up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the /openapi/v3
endpoint is much more user-friendly than the v2 one because it returns targeted resources (i.e. /openapi/v3/apis/hephaestus.dominodatalab.com/v1
) instead of EVERYTHING. It's useful but not critical for this work so I'm going to do that work slowly and deliberately as a separate PR when I have time. These are just my notes for that future work.
list/get
operations to fail