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

io.muserver.rest.ApiResponses Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
package io.muserver.rest;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Describes multiple response codes and descriptions for an API method, for documentation purposes.
 *
 * @see ApiResponse
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiResponses {
    /**
     * A list of {@link ApiResponse}s provided by the API operation.
     *
     * @return the responses
     */
    ApiResponse[] value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy