Skip to content

Instantly share code, notes, and snippets.

@kasramp
Created June 12, 2020 11:46
Show Gist options
  • Save kasramp/93560553e9cb2eeb39477f14da907201 to your computer and use it in GitHub Desktop.
Save kasramp/93560553e9cb2eeb39477f14da907201 to your computer and use it in GitHub Desktop.
package com.madadipouya.quarkus.example.config;
import org.eclipse.microprofile.openapi.annotations.OpenAPIDefinition;
import org.eclipse.microprofile.openapi.annotations.info.Contact;
import org.eclipse.microprofile.openapi.annotations.info.Info;
import org.eclipse.microprofile.openapi.annotations.info.License;
import org.eclipse.microprofile.openapi.annotations.tags.Tag;
import javax.ws.rs.core.Application;
@OpenAPIDefinition(
tags = {
@Tag(name = "user", description = "User operations."),
},
info = @Info(
title = "User API with Quarkus",
version = "0.0.1",
contact = @Contact(
name = "Kasra Madadipouya",
url = "http://geekyhacker.com/contact",
email = "kasra@madadipouya.com"),
license = @License(
name = "MIT",
url = "https://opensource.org/licenses/MIT"))
)
public class SwaggerConfig extends Application {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment