public final class SwaggerCustomDynamicSchema extends Object
Constructor and Description |
---|
SwaggerCustomDynamicSchema() |
Modifier and Type | Method and Description |
---|---|
String |
operationId()
Get the operationId property: The operation id to fetch dynamic schema.
|
Map<String,Object> |
parameters()
Get the parameters property: The operation parameters.
|
void |
validate()
Validates the instance.
|
String |
valuePath()
Get the valuePath property: Json pointer to the dynamic schema on the response body.
|
SwaggerCustomDynamicSchema |
withOperationId(String operationId)
Set the operationId property: The operation id to fetch dynamic schema.
|
SwaggerCustomDynamicSchema |
withParameters(Map<String,Object> parameters)
Set the parameters property: The operation parameters.
|
SwaggerCustomDynamicSchema |
withValuePath(String valuePath)
Set the valuePath property: Json pointer to the dynamic schema on the response body.
|
public String operationId()
public SwaggerCustomDynamicSchema withOperationId(String operationId)
operationId
- the operationId value to set.public String valuePath()
public SwaggerCustomDynamicSchema withValuePath(String valuePath)
valuePath
- the valuePath value to set.public Map<String,Object> parameters()
public SwaggerCustomDynamicSchema withParameters(Map<String,Object> parameters)
parameters
- the parameters value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.