com.networknt.oas.model.EncodingProperty 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 com.networknt.oas.jsonoverlay.Reference;
import java.util.Map;
public interface EncodingProperty extends OpenApiObject {
// ContentType
String getContentType();
String getContentType(boolean elaborate);
void setContentType(String contentType);
// Header
Map getHeaders();
Map getHeaders(boolean elaborate);
boolean hasHeader(String name);
String getHeader(String name);
void setHeaders(Map headers);
void setHeader(String name, String header);
void removeHeader(String name);
boolean isHeaderReference(String key);
Reference getHeaderReference(String key);
// Style
String getStyle();
String getStyle(boolean elaborate);
void setStyle(String style);
// Explode
Boolean getExplode();
Boolean getExplode(boolean elaborate);
boolean isExplode();
void setExplode(Boolean explode);
// 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