Skip to content

Commit

Permalink
Added environment #TASK-5914
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfeSanahuja committed Jan 14, 2025
1 parent 4655b45 commit 56dd00f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public class SwaggerJsonSerializer {
public static void main(String[] args) throws Exception {
JsonOpenApiGenerator generator = new JsonOpenApiGenerator();
Swagger swagger = generator.generateJsonOpenApi(new ApiCommonsImpl(), "El token va aquí");
Swagger swagger = generator.generateJsonOpenApi(new ApiCommonsImpl(), "El token va aquí", "task-xxxx");

ObjectMapper mapper = new ObjectMapper();
String swaggerJson = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(swagger);
Expand Down

0 comments on commit 56dd00f

Please sign in to comment.