-
Notifications
You must be signed in to change notification settings - Fork 418
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
[JAXRS-CXF-CDI] Invalid argument on OAS 3.0 annotation @Parameter #132
Comments
once this is fixed the |
@HugoMario Yes, looking into it! |
@HugoMario Please take a look at #134 |
Thanks @HugoMario! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
A non declared argument,
allowableValues
, is placed for OAS 3.0 annotation@Parameter
The issue is related to an array of string set with a enum for a parameter named
status
, an example of this is/pet/findByStatus:
path from petstore sample :Command used:
Keeping in mind that it does not matter that definition is in OAS 2 format since
Swagger Codegen v3
supports it.So the generated output with error on
PetApi.java
class is:when we try to build generated code with
mvn package
command we got:The text was updated successfully, but these errors were encountered: