Package pl.metaprogramming.model.oas
Class HttpRequestSchema
-
- All Implemented Interfaces:
public final class HttpRequestSchema
-
-
Field Summary
Fields Modifier and Type Field Description private final List<DataSchema>fieldsprivate final BooleanisFormUrlEncodedprivate final List<String>contentTypesprivate final ObjectTypeschemaprivate final Stringnameprivate final DataSchemabodySchemaprivate final Operationoperation
-
Constructor Summary
Constructors Constructor Description HttpRequestSchema(List<String> contentTypes, ObjectType schema, String name, DataSchema bodySchema, Operation operation)
-
Method Summary
Modifier and Type Method Description final List<DataSchema>getFields()final BooleanisFormUrlEncoded()final List<String>getContentTypes()final ObjectTypegetSchema()final StringgetName()final DataSchemagetBodySchema()final OperationgetOperation()final BooleanisSchemaForBody(DataSchema bodySchema)final List<String>withoutFormUrlEncoded()-
-
Constructor Detail
-
HttpRequestSchema
HttpRequestSchema(List<String> contentTypes, ObjectType schema, String name, DataSchema bodySchema, Operation operation)
-
-
Method Detail
-
getFields
final List<DataSchema> getFields()
-
isFormUrlEncoded
final Boolean isFormUrlEncoded()
-
getContentTypes
final List<String> getContentTypes()
-
getSchema
final ObjectType getSchema()
-
getBodySchema
final DataSchema getBodySchema()
-
getOperation
final Operation getOperation()
-
isSchemaForBody
final Boolean isSchemaForBody(DataSchema bodySchema)
-
withoutFormUrlEncoded
final List<String> withoutFormUrlEncoded()
-
-
-
-