All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.elide.swagger.JsonApiOperation Maven / Gradle / Ivy

There is a newer version: 7.1.4
Show newest version
/*
 * 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