@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Inherited public @interface Info
OpenAPIDefinition.info()
to populate the Info section of the OpenAPI document.OpenAPIDefinition
Modifier and Type | Optional Element and Description |
---|---|
Contact |
contact
The contact information for the exposed API.
|
String |
description
A short description of the application.
|
Extension[] |
extensions
The list of optional extensions
|
License |
license
The license information for the exposed API.
|
String |
termsOfService
A URL to the Terms of Service for the API.
|
String |
title
The title of the application.
|
String |
version
The version of the API definition.
|
public abstract String title
public abstract String description
public abstract String termsOfService
public abstract Contact contact
public abstract License license
public abstract String version
public abstract Extension[] extensions
Copyright © 2020. All rights reserved.