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

Include validation in the openapi.http.proxy generator #586

Merged
merged 9 commits into from
Nov 28, 2023

Conversation

attilakreiner
Copy link
Contributor

Description

Include validation in the generate command in the openapi.http.proxy template

Fixes #459

this.schema = schema;
}

public String getType()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am using jsonb for serialization. I didn't find a workaround to change the method names from get...(). The @JsonbProperty annotation seems to work only on methods that follow the naming convention.

Copy link
Contributor

@jfallows jfallows left a comment

Choose a reason for hiding this comment

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

Let's keep our code clear of using the commons-collections transitive dependency.

@attilakreiner
Copy link
Contributor Author

attilakreiner commented Nov 28, 2023

Let's keep our code clear of using the commons-collections transitive dependency.

Sure, done.

@jfallows jfallows merged commit db0e060 into aklivity:develop Nov 28, 2023
@attilakreiner attilakreiner deleted the openapi-gen-validator branch November 29, 2023 10:43
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.

Generate http server request validators from OpenAPI specification
2 participants