Skip to content

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