ApiContextId to assign a context id to API resource classes when more than one API definition
is configured. For API definition information configuration, the standard Swagger annotations should be
used (for example Info or OpenAPIDefinition for Swagger/OpenAPI v3).@Target(value={TYPE,PACKAGE}) @Retention(value=RUNTIME) @Documented @Deprecated public @interface ApiDefinition
| Modifier and Type | Optional Element and Description |
|---|---|
String |
contact
Deprecated.
API contact informations
|
String |
description
Deprecated.
API description
|
String |
docsPath
Deprecated.
Use
value() |
String |
host
Deprecated.
API host name.
|
String |
license
Deprecated.
API license
|
String |
licenseUrl
Deprecated.
API license URL
|
boolean |
prettyPrint
Deprecated.
Whether to pretty format the Swagger output
|
String[] |
schemes
Deprecated.
API schemes
|
String |
termsOfServiceUrl
Deprecated.
API terms of service URL
|
String |
title
Deprecated.
API title
|
String |
value
Deprecated.
Get the Swagger API listing endpoint JAX-RS path from which the API documentation will be available.
|
String |
version
Deprecated.
API version description
|
public abstract String value
@Deprecated public abstract String docsPath
value()public abstract String title
public abstract String version
public abstract String description
public abstract String[] schemes
public abstract String termsOfServiceUrl
public abstract String contact
public abstract String license
public abstract String licenseUrl
public abstract String host
Copyright © 2019 The Holon Platform. All rights reserved.