Skip to content

feat: add codegen to tools #806

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
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

feat: add codegen to tools #806

wants to merge 5 commits into from

Conversation

andreaangiolillo
Copy link
Collaborator

Proposed changes

Comment on lines +95 to +106
// findSuccessfulResponse searches for a response with a successful HTTP status code (200-208, 226)
// in the UpdateOp of the provided OAS resource. When found, it extracts and returns the content schema
// from that response. This function is used to obtain the schema that represents the resource's structure
// as defined in the OpenAPI specification.
//
// Parameters:
// - oasResource: The API resource specification containing operations (Create, Read, Update, Delete)
//
// Returns:
// - A pointer to the base.Schema object from the successful response content, or nil if not found
//
// !IMPORTANT!: This function does not currently handle nested refs in the response schema
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

To fix

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.

1 participant