We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Contract
{ "openapi": "3.0.0", "info": { "title": "Test Api", "version": "3.0.0" }, "paths": { "/test/requestBodyRefTest": { "get": { "summary": "Test method", "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Example" } } } } } } } }, "components": { "schemas": { "Example": { "type": "object", "properties": { "state": { "enum": [ "Actual", "Expect" ], "type": "string" } } } } } }
actual and expect are reserved words Generated result is
actual
expect
enum class State(val value: kotlin.String){ actual("Actual"), expected("Expected") }
This code doesn't compile
The text was updated successfully, but these errors were encountered:
these PR: #464 #488
were added to handled this. thanks again @crazyk2 for reporting this and work on it!!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Contract
actual
andexpect
are reserved wordsGenerated result is
This code doesn't compile
The text was updated successfully, but these errors were encountered: