![JAR search and dependency download from the Maven repository](/logo.png)
com.yahoo.elide.swagger.JsonApiOperation Maven / Gradle / Ivy
/*
* Copyright 2016, Yahoo Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
package com.yahoo.elide.swagger;
import static com.yahoo.elide.Elide.JSONAPI_CONTENT_TYPE;
import io.swagger.models.Operation;
/**
* Operation that consumes and produces JSON API mime type.
*/
public class JsonApiOperation extends Operation {
public static final String JSON_API_MIME = JSONAPI_CONTENT_TYPE;
public JsonApiOperation() {
super();
consumes(JSON_API_MIME);
produces(JSON_API_MIME);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy