io.github.springwolf.asyncapi.v3.model.info.License Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springwolf-asyncapi Show documentation
Show all versions of springwolf-asyncapi Show documentation
Springwolf implementation of the AsyncApi specification
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.model.info;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.springwolf.asyncapi.v3.model.ExtendableObject;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* License information for the exposed API.
*
* @see License
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class License extends ExtendableObject {
/**
* Required. The license name used for the API.
*/
@NotNull
@JsonProperty(value = "name")
private String name;
/**
* A URL to the license used for the API. MUST be in the format of a URL.
*/
@JsonProperty(value = "url")
private String url;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy