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

support generation of model from openapi schemas #582

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MUzairS15
Copy link
Contributor

Description

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link
Member

@leecalcote leecalcote left a comment

Choose a reason for hiding this comment

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

@MUzairS15 build checks are failing...

Signed-off-by: MUzairS15 <[email protected]>
@MUzairS15
Copy link
Contributor Author

ensure correct version is passed.

"github.com/meshery/schemas/models/v1beta1/model"
)

func GenerateFromOpenAPI(resource string) ([]component.ComponentDefinition, error) {
Copy link
Contributor Author

@MUzairS15 MUzairS15 Sep 13, 2024

Choose a reason for hiding this comment

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

pass the "pkg" that contains info regarding model to generate.

Copy link
Member

@leecalcote leecalcote left a comment

Choose a reason for hiding this comment

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

Still needed?

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.

2 participants