annotations/ExternalDocumentation.java

swagger-core · modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/ExternalDocumentation.java · java · Apache-2.0
integration

Java annotation for adding external documentation links in OpenAPI 3.0 API specifications

// Source: https://github.com/swagger-api/swagger-core | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package io.swagger.v3.oas.annotations;

import io.swagger.v3.oas.annotations.extensions.Extension;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.ElementType.METHOD;

/**
 * The annotation may be used at method level or as field of {@link Operation} to add a reference to an external
 * resource for extended documentati

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key