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

io.vertx.openapi.contract.Parameter Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR5
Show newest version
/*
 * Copyright (c) 2023, SAP SE
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
 * which is available at https://www.apache.org/licenses/LICENSE-2.0.
 *
 * SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
 *
 */

package io.vertx.openapi.contract;

import io.vertx.codegen.annotations.VertxGen;
import io.vertx.json.schema.JsonSchema;
import io.vertx.json.schema.common.dsl.SchemaType;

/**
 * This interface represents the most important attributes of an OpenAPI Parameter.
 * 
* Parameter V3.1 *
* Parameter V3.0 */ @VertxGen public interface Parameter extends OpenAPIObject { /** * @return name of this parameter */ String getName(); /** * @return location of this parameter */ Location getIn(); /** * @return true if the parameter is required, otherwise false; */ boolean isRequired(); /** * @return style of this parameter */ Style getStyle(); /** * @return true if the parameter should become exploded, otherwise false; */ boolean isExplode(); /** * @return the {@link JsonSchema} of the parameter */ JsonSchema getSchema(); /** * @return the {@link SchemaType} of the parameter */ SchemaType getSchemaType(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy