com.networknt.oas.model.Info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-parser Show documentation
Show all versions of openapi-parser Show documentation
A light-weight, fast OpenAPI 3.0 parser and validator
package com.networknt.oas.model;
import java.util.Map;
public interface Info extends OpenApiObject {
// Title
String getTitle();
String getTitle(boolean elaborate);
void setTitle(String title);
// Description
String getDescription();
String getDescription(boolean elaborate);
void setDescription(String description);
// TermsOfService
String getTermsOfService();
String getTermsOfService(boolean elaborate);
void setTermsOfService(String termsOfService);
// Contact
Contact getContact();
Contact getContact(boolean elaborate);
void setContact(Contact contact);
// License
License getLicense();
License getLicense(boolean elaborate);
void setLicense(License license);
// Version
String getVersion();
String getVersion(boolean elaborate);
void setVersion(String version);
// Extension
Map getExtensions();
Map getExtensions(boolean elaborate);
boolean hasExtension(String name);
Object getExtension(String name);
void setExtensions(Map extensions);
void setExtension(String name, Object extension);
void removeExtension(String name);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy