public MediaTypeGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiMediaType> mediaTypeGeneratorRegistry, ISerializerSelector serializerSelector) { _document = document ?? throw new ArgumentNullException(nameof(document)); _mediaTypeGeneratorRegistry = mediaTypeGeneratorRegistry ?? throw new ArgumentNullException(nameof(mediaTypeGeneratorRegistry)); _serializerSelector = serializerSelector ?? throw new ArgumentNullException(nameof(serializerSelector)); }
public DiscriminatorConverterGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiSchema> schemaTypeGeneratorRegistry, ITypeGeneratorRegistry <OpenApiSchema, SystemTextJsonGeneratorCategory> converterTypeGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _schemaTypeGeneratorRegistry = schemaTypeGeneratorRegistry ?? throw new ArgumentNullException(nameof(schemaTypeGeneratorRegistry)); _converterTypeGeneratorRegistry = converterTypeGeneratorRegistry ?? throw new ArgumentNullException(nameof(converterTypeGeneratorRegistry)); }
public ResponseSetGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiResponses> responsesGeneratorRegistry, ITypeGeneratorRegistry <OpenApiUnknownResponse> unknownResponseGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _responsesGeneratorRegistry = responsesGeneratorRegistry ?? throw new ArgumentNullException(nameof(responsesGeneratorRegistry)); _unknownResponseGeneratorRegistry = unknownResponseGeneratorRegistry ?? throw new ArgumentNullException(nameof(unknownResponseGeneratorRegistry)); }
public TagGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiTag> tagGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _tagGeneratorRegistry = tagGeneratorRegistry ?? throw new ArgumentNullException(nameof(tagGeneratorRegistry)); }
public SchemaGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiSchema> typeGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _typeGeneratorRegistry = typeGeneratorRegistry ?? throw new ArgumentNullException(nameof(typeGeneratorRegistry)); }
public ParameterGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiParameter> parameterGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _parameterGeneratorRegistry = parameterGeneratorRegistry ?? throw new ArgumentNullException(nameof(parameterGeneratorRegistry)); }
public JsonDiscriminatorEnricher(GenerationContext context, ITypeGeneratorRegistry <OpenApiSchema, SystemTextJsonGeneratorCategory> typeGeneratorRegistry) { Context = context ?? throw new ArgumentNullException(nameof(context)); TypeGeneratorRegistry = typeGeneratorRegistry ?? throw new ArgumentNullException(nameof(typeGeneratorRegistry)); }
public HeaderGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiHeader> headerGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _headerGeneratorRegistry = headerGeneratorRegistry ?? throw new ArgumentNullException(nameof(headerGeneratorRegistry)); }
public RequestGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiOperation> operationTypeGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _operationTypeGeneratorRegistry = operationTypeGeneratorRegistry ?? throw new ArgumentNullException(nameof(operationTypeGeneratorRegistry)); }
public DefaultElementTypeNameProvider(ITypeGeneratorRegistry typeGeneratorRegistry) { _typeGeneratorRegistry = typeGeneratorRegistry ?? throw new ArgumentNullException(nameof(typeGeneratorRegistry)); }
public SecuritySchemeGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiSecurityScheme> securitySchemeGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _securitySchemeGeneratorRegistry = securitySchemeGeneratorRegistry ?? throw new ArgumentNullException(nameof(securitySchemeGeneratorRegistry)); }
public RequestBodyGenerator(OpenApiDocument document, ITypeGeneratorRegistry <OpenApiRequestBody> requestBodyGeneratorRegistry) { _document = document ?? throw new ArgumentNullException(nameof(document)); _requestBodyGeneratorRegistry = requestBodyGeneratorRegistry ?? throw new ArgumentNullException(nameof(requestBodyGeneratorRegistry)); }
public TypeGeneratorRegistryWrapper(ITypeGeneratorRegistry <TElement, PrimaryGeneratorCategory> innerRegistry) { _innerRegistry = innerRegistry; }