@Target(value={TYPE,PACKAGE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Inherited public @interface OpenAPIDefinition
OpenAPIDefinition
, with the same fields defined, behaviour is inconsistent.Modifier and Type | Optional Element and Description |
---|---|
Extension[] |
extensions
The list of optional extensions
|
ExternalDocumentation |
externalDocs
Any additional external documentation for the API
|
Info |
info
Provides metadata about the API.
|
SecurityRequirement[] |
security
A declaration of which security mechanisms can be used across the API.
|
Server[] |
servers
An array of Server Objects, which provide connectivity information to a target server.
|
Tag[] |
tags
A list of tags used by the specification with additional metadata.
|
public abstract Info info
public abstract Tag[] tags
public abstract Server[] servers
public abstract SecurityRequirement[] security
public abstract ExternalDocumentation externalDocs
public abstract Extension[] extensions
Copyright © 2021. All rights reserved.