We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
openapi: 3.0.0 info: title: sample API version: 1.0.0 paths: /foo: get: parameters: - name: foo-foo description: test parameter in: query required: false schema: type: string enum: - foo-1 - $ref: '#/components/parameters/Bar' responses: '204': description: response components: parameters: Bar: name: bar-bar description: test parameter in: query required: false schema: type: string enum: - bar-1 - bar-2
generates
package io.openapiprocessor.oap.api; import io.openapiprocessor.oap.model.Bar-bar; import io.openapiprocessor.oap.model.Foo-foo; import io.openapiprocessor.oap.support.Generated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; @Generated(value = "openapi-processor-spring", version = "2023.3-SNAPSHOT") public interface Api { @GetMapping(path = "/foo") void getFoo( @RequestParam(name = "foo-foo", required = false) Foo-foo fooFoo, @RequestParam(name = "bar-bar", required = false) Bar-bar barBar); }
The text was updated successfully, but these errors were encountered:
#25, should generate valid type name
9014b54
4380179
(cherry picked from commit 9014b54)
No branches or pull requests
generates
The text was updated successfully, but these errors were encountered: