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

Add initial version of schema endpoint generation #3196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pquentin
Copy link
Member

I'm using a simplified version of the Kibana OpenAPI for one endpoint. Simplifications include:

That said, I'm able to generate a schema.json file (that can be used to generate client) from this simplified OpenAPI representation. This is tested using https://insta.rs/.

@pquentin pquentin requested a review from a team as a code owner November 29, 2024 13:20
Copy link
Contributor

@Anaethelion Anaethelion left a comment

Choose a reason for hiding this comment

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

Overall looks good, could you add some comments on the endpoints.rs file? There's a lot of pattern matching and its not always obvious what each does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants