@Documented @Retention(value=RUNTIME) public @interface License
License information for the exposed API.
Used to populate the auto-generated Swagger documentation and UI for server-side
Modifier and Type | Optional Element and Description |
---|---|
String |
name
|
String |
url
|
String[] |
value
Free-form value for the Swagger License Object.
|
public abstract String name
public abstract String url
public abstract String[] value
This is a JSON object that makes up the swagger information for this field.
The following are completely equivalent ways of defining the swagger description of the license information:
The reasons why you may want to use this field include:
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.