David1
4 years agoNew Member
Importing legacy Java project into Swagger, Swagger Hub
I have some Java code with Java annotations in it that define a Swagger interface. I have the URL but no YAML file defining the interface. How do I create a YAML file from the annotated Java code?
Here is an example of the Java code:
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
...
@ApiOperation(value="(get the AAR files under directory AAR )")
@ApiImplicitParams({
@ApiImplicitParam(value = "this is Campus Id eg:101" ,name = "CAMPUS",required = false,dataType = "String",paramType = "query"),