-
Notifications
You must be signed in to change notification settings - Fork 383
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
java.lang.NoSuchMethodError: io.swagger.models.properties.BaseIntegerProperty.getMinimum()Ljava/lang/Double; #234
Comments
Hi, could you please try to use |
Thanks. CodegenConfigurator configurator = CodegenConfigurator.fromFile(configFile);
new DefaultGenerator().opts(configurator.toClientOptInput()).generate(); Is there any mistake or options missing? |
Sry, I don't use the CodegenConfigurator and swagger-codegen in general. |
use plugin? |
Not sure what you mean? |
OK,Thanks. How to upload my minimal project and where? |
Sorry, I can't upload my file for our network right setting.
swagger: "2.0" ################################################################################ API Information################################################################################ during dev, should point to your local machinehost: ip:port basePath prefixes all resource pathsbasePath: /myapp/v1.1.0 schemes: tip: remove http to make production-grade- http
format of bodies a client can send (Content-Type)consumes:
format of the responses to the client (Accepts)produces:
tags:
################################################################################ Security################################################################################
paths: definitions:
/subscriptions:
|
Hi, you can't split a Swagger file into several files like this. |
Can I close the issue? |
OK, Thanks a lot. |
I used java code to generate api and docs. But it is failed by throwing exception.
Swagger2Markup version:
1.2.0
Problem description:
It is the dependencies as bellow:
it is failed. The exception is
The text was updated successfully, but these errors were encountered: