public static class NameConstants
string List
string Pagination
public static class OpenApiDataTypeConstants
string Array
string Boolean
string Integer
string Number
string Object
string String
public static class OpenApiDocumentExtensions
List<KeyValuePair<string, OpenApiPathItem>> GetPathsByBasePathSegmentName(this OpenApiDocument document, string basePathSegmentName)
public static class OpenApiFormatTypeConstants
string Binary
string Byte
string Date
string DateTime
string Double
string Email
string Float
string Int32
string Int64
string Time
string Timestamp
string Uri
string Uuid
public static class OpenApiMediaTypeExtensions
OpenApiSchema GetSchema(this IDictionary<string, OpenApiMediaType> content, string contentType = application/json)
OpenApiSchema GetSchemaByFirstMediaType(this IDictionary<string, OpenApiMediaType> content)
public static class OpenApiOperationExtensions
OpenApiSchema GetModelSchemaFromRequest(this OpenApiOperation openApiOperation)
OpenApiSchema GetModelSchemaFromResponse(this OpenApiOperation openApiOperation)
string GetOperationName(this OpenApiOperation openApiOperation)
bool HasDataTypeFromSystemCollectionGenericNamespace(this List<OpenApiOperation> apiOperations)
bool HasParametersOrRequestBody(this OpenApiOperation openApiOperation)
bool HasRequestBodyWithAnythingAsFormatTypeBinary(this OpenApiOperation openApiOperation)
bool IsOperationIdPluralized(this OpenApiOperation openApiOperation, OperationType operationType)
bool IsOperationNamePluralized(this OpenApiOperation openApiOperation, OperationType operationType)
bool IsOperationReferencingSchema(this OpenApiOperation openApiOperation, string schemaKey)
public static class OpenApiParameterExtensions
List<OpenApiParameter> GetAllFromHeader(this IList<OpenApiParameter> parameters)
List<OpenApiParameter> GetAllFromQuery(this IList<OpenApiParameter> parameters)
List<OpenApiParameter> GetAllFromRoute(this IList<OpenApiParameter> parameters)
bool HasFormatTypeByte(this IList<OpenApiParameter> parameters)
bool HasFormatTypeDate(this IList<OpenApiParameter> parameters)
bool HasFormatTypeDateTime(this IList<OpenApiParameter> parameters)
bool HasFormatTypeEmail(this IList<OpenApiParameter> parameters)
bool HasFormatTypeFromDataAnnotationsNamespace(this IList<OpenApiParameter> parameters)
bool HasFormatTypeFromSystemNamespace(this IList<OpenApiParameter> parameters)
bool HasFormatTypeInt32(this IList<OpenApiParameter> parameters)
bool HasFormatTypeInt64(this IList<OpenApiParameter> parameters)
bool HasFormatTypeTime(this IList<OpenApiParameter> parameters)
bool HasFormatTypeTimestamp(this IList<OpenApiParameter> parameters)
bool HasFormatTypeUri(this IList<OpenApiParameter> parameters)
bool HasFormatTypeUuid(this IList<OpenApiParameter> parameters)
public static class OpenApiPathItemExtensions
bool HasParameters(this OpenApiPathItem openApiPathItem)
bool IsPathStartingSegmentName(this KeyValuePair<string, OpenApiPathItem> urlPath, string segmentName)
public static class OpenApiPathsExtensions
List<KeyValuePair<string, OpenApiPathItem>> GetPathsStartingWithSegmentName(this OpenApiPaths urlPaths, string segmentName)
public static class OpenApiResponsesExtensions
string GetDataTypeForStatusCode(this OpenApiResponses responses, HttpStatusCode httpStatusCode)
List<HttpStatusCode> GetHttpStatusCodes(this OpenApiResponses responses)
string GetModelNameForStatusCode(this OpenApiResponses responses, HttpStatusCode httpStatusCode)
OpenApiSchema GetSchemaForStatusCode(this OpenApiResponses responses, HttpStatusCode httpStatusCode, string contentType = application/json)
bool HasSchemaHttpStatusCodeUsingAspNetCoreHttp(this OpenApiResponses responses)
bool HasSchemaHttpStatusCodeUsingSystemNet(this OpenApiResponses responses)
bool HasSchemaTypeArray(this OpenApiResponses responses)
bool IsSchemaTypeArrayForStatusCode(this OpenApiResponses responses, HttpStatusCode httpStatusCode)
bool IsSchemaTypePaginationForStatusCode(this OpenApiResponses responses, HttpStatusCode httpStatusCode)
bool IsSchemaTypeProblemDetailsForStatusCode(this OpenApiResponses responses, HttpStatusCode httpStatusCode)
bool IsSchemaUsingBinaryFormatForOkResponse(this OpenApiResponses responses)
public static class OpenApiSchemaExtensions
string ExtractPropertyNameWhenHasAnyPropertiesOfArrayWithFormatTypeBinary(this OpenApiSchema apiSchema)
string GetDataType(this OpenApiSchema schema)
Tuple<string, OpenApiSchema> GetEnumSchema(this OpenApiSchema schema)
string GetModelName(this OpenApiSchema schema, bool ensureFirstCharacterToUpper = True)
string GetModelType(this OpenApiSchema schema)
OpenApiSchema GetSchemaByModelName(this IDictionary<string, OpenApiSchema> componentSchemas, string modelName)
string GetSimpleDataTypeFromArray(this OpenApiSchema schema)
string GetSimpleDataTypeFromPagination(this OpenApiSchema schema)
string GetTitleFromPropertyByPropertyKey(this OpenApiSchema schema, string propertyKey)
bool HasAnyProperties(this OpenApiSchema schema)
bool HasAnyPropertiesAsArrayWithFormatTypeBinary(this OpenApiSchema schema)
bool HasAnyPropertiesFormatTypeFromSystemCollectionGenericNamespace(this OpenApiSchema schema, IDictionary<string, OpenApiSchema> componentSchemas)
bool HasAnyPropertiesFormatTypeFromSystemNamespace(this OpenApiSchema schema)
bool HasAnyPropertiesFormatTypeFromSystemNamespace(this OpenApiSchema schema, IDictionary<string, OpenApiSchema> componentSchemas)
bool HasAnyPropertiesWithFormatTypeBinary(this OpenApiSchema schema)
bool HasAnythingAsFormatTypeBinary(this OpenApiSchema schema)
bool HasArrayItemsWithSimpleDataType(this OpenApiSchema schema)
bool HasDataTypeFromSystemCollectionGenericNamespace(this OpenApiSchema schema, IDictionary<string, OpenApiSchema> componentSchemas)
bool HasDataTypeFromSystemCollectionGenericNamespace(this IList<OpenApiSchema> schemas, IDictionary<string, OpenApiSchema> componentSchemas)
bool HasDataTypeList(this IList<OpenApiSchema> schemas)
bool HasFormatType(this OpenApiSchema schema)
bool HasFormatTypeByte(this IList<OpenApiSchema> schemas)
bool HasFormatTypeDate(this IList<OpenApiSchema> schemas)
bool HasFormatTypeDateTime(this IList<OpenApiSchema> schemas)
bool HasFormatTypeEmail(this IList<OpenApiSchema> schemas)
bool HasFormatTypeFromAspNetCoreHttpNamespace(this OpenApiSchema schema)
bool HasFormatTypeFromAspNetCoreHttpNamespace(this IList<OpenApiSchema> schemas)
bool HasFormatTypeFromDataAnnotationsNamespace(this OpenApiSchema schema)
bool HasFormatTypeFromDataAnnotationsNamespace(this IList<OpenApiSchema> schemas)
bool HasFormatTypeFromSystemNamespace(this OpenApiSchema schema)
bool HasFormatTypeFromSystemNamespace(this IList<OpenApiSchema> schemas)
bool HasFormatTypeInt32(this IList<OpenApiSchema> schemas)
bool HasFormatTypeInt64(this IList<OpenApiSchema> schemas)
bool HasFormatTypeTime(this IList<OpenApiSchema> schemas)
bool HasFormatTypeTimestamp(this IList<OpenApiSchema> schemas)
bool HasFormatTypeUri(this IList<OpenApiSchema> schemas)
bool HasFormatTypeUuid(this IList<OpenApiSchema> schemas)
bool HasItemsWithFormatTypeBinary(this OpenApiSchema schema)
bool HasItemsWithSimpleDataType(this OpenApiSchema schema)
bool HasModelNameOrAnyPropertiesWithModelName(this OpenApiSchema schema, string modelName)
bool HasPaginationItemsWithSimpleDataType(this OpenApiSchema schema)
bool IsArrayReferenceTypeDeclared(this OpenApiSchema schema)
bool IsFormatTypeBinary(this OpenApiSchema schema)
bool IsFormatTypeByte(this OpenApiSchema schema)
bool IsFormatTypeDate(this OpenApiSchema schema)
bool IsFormatTypeDateTime(this OpenApiSchema schema)
bool IsFormatTypeEmail(this OpenApiSchema schema)
bool IsFormatTypeInt32(this OpenApiSchema schema)
bool IsFormatTypeInt64(this OpenApiSchema schema)
bool IsFormatTypeTime(this OpenApiSchema schema)
bool IsFormatTypeTimestamp(this OpenApiSchema schema)
bool IsFormatTypeUri(this OpenApiSchema schema)
bool IsFormatTypeUuid(this OpenApiSchema schema)
bool IsObjectReferenceTypeDeclared(this OpenApiSchema schema)
bool IsRuleValidationNumber(this OpenApiSchema schema)
bool IsRuleValidationString(this OpenApiSchema schema)
bool IsSchemaEnum(this OpenApiSchema schema)
bool IsSchemaEnumOrPropertyEnum(this OpenApiSchema schema)
bool IsSharedContract(this OpenApiSchema schema, OpenApiComponents openApiComponents)
bool IsSimpleDataType(this OpenApiSchema schema)
bool IsTypeArray(this OpenApiSchema schema)
bool IsTypeArrayOrPagination(this OpenApiSchema schema)
bool IsTypePagination(this OpenApiSchema schema)
Generated by MarkdownCodeDoc version 1.2