Skip to content

feat: Initial support of partial methods for methods. #118

feat: Initial support of partial methods for methods.

feat: Initial support of partial methods for methods. #118

Triggered via push July 8, 2024 20:30
Status Failure
Total duration 2m 29s
Artifacts

main.yml

on: push
Build, test and publish  /  Build, test and publish
2m 17s
Build, test and publish / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

8 errors
OpenAi
Test method OpenApiGenerator.UnitTests.DataTests.OpenAi threw exception: VerifyException: Directory: /home/runner/work/OpenApiGenerator/OpenApiGenerator/src/tests/OpenApiGenerator.UnitTests/Snapshots/OpenAi/Models NotEqual: - Received: _.received.txt Verified: _.verified.txt FileContent: NotEqual: Received: _.received.txt [ { Id: Error, AddTypeName: false, Parents: null, Namespace: G, Settings: { TargetFramework: netstandard2.0, Namespace: G, ClassName: Api, GenerateConstructors: false, GroupByTags: true, GenerateMethods: false, MethodNamingConventionFallback: MethodAndPath, GenerateMethodsAsHttpClientExtensions: false, GenerateMethodsUsingSystemNetHttpJson: false, IncludeOperationIds: null, ExcludeOperationIds: null, IncludeTags: null, ExcludeTags: null, JsonSerializerContext: , GenerateJsonSerializerContextTypes: false, GenerateModels: false, IncludeModels: null, ExcludeModels: null, GeneratePolyfills: true, GenerateSdk: true, FromCli: false }, Properties: [ { Id: code, Name: Code, Type: { CSharpType: string?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: true, IsDeprecated: false, Summary: , ConverterType: , ParameterName: code, ArgumentName: code, ParameterDefaultValue: default }, { Id: message, Name: Message, Type: { CSharpType: string, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: true, IsDeprecated: false, Summary: , ConverterType: , ParameterName: message, ArgumentName: message, ParameterDefaultValue: default }, { Id: param, Name: Param, Type: { CSharpType: string?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: true, IsDeprecated: false, Summary: , ConverterType: , ParameterName: param, ArgumentName: param, ParameterDefaultValue: default }, { Id: type, Name: Type, Type: { CSharpType: string, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null
Ollama
Test method OpenApiGenerator.UnitTests.DataTests.Ollama threw exception: VerifyException: Directory: /home/runner/work/OpenApiGenerator/OpenApiGenerator/src/tests/OpenApiGenerator.UnitTests/Snapshots/Ollama/Models NotEqual: - Received: _.received.txt Verified: _.verified.txt FileContent: NotEqual: Received: _.received.txt [ { Id: GenerateCompletionRequest, AddTypeName: false, Parents: null, Namespace: G, Settings: { TargetFramework: netstandard2.0, Namespace: G, ClassName: Api, GenerateConstructors: false, GroupByTags: true, GenerateMethods: false, MethodNamingConventionFallback: MethodAndPath, GenerateMethodsAsHttpClientExtensions: false, GenerateMethodsUsingSystemNetHttpJson: false, IncludeOperationIds: null, ExcludeOperationIds: null, IncludeTags: null, ExcludeTags: null, JsonSerializerContext: , GenerateJsonSerializerContextTypes: true, GenerateModels: false, IncludeModels: null, ExcludeModels: null, GeneratePolyfills: true, GenerateSdk: true, FromCli: false }, Properties: [ { Id: model, Name: Model, Type: { CSharpType: string, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: true, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: true, IsDeprecated: false, Summary: The model name. Model names follow a `model:tag` format. Some examples are `orca-mini:3b-q4_1` and `llama3:70b`. The tag is optional and, if not provided, will default to `latest`. The tag is used to identify a specific version. Example: llama3:8b, ConverterType: , ParameterName: model, ArgumentName: model, ParameterDefaultValue: default }, { Id: prompt, Name: Prompt, Type: { CSharpType: string, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: true, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: true, IsDeprecated: false, Summary: The prompt to generate a response. Example: Why is the sky blue?, ConverterType: , ParameterName: prompt, ArgumentName: prompt, ParameterDefaultValue: default }, { Id: images, Name: Images, Type: { CSharpType: global::System.Collections.Generic.IList<string?>?, IsArray: true, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: true, CSharpTypeWithoutNullability: global::System.Collections.Generic.IList<string?>, CSharpTypeWithNullability: global::System.Collections.Generic.IList<string?>?, ShortCSharpTypeWithoutNullability: global::System.Collections.Generic.IList<string?>, ShortCSharpTypeWithNullability: global::System.Collections.Generic.IList<string?>?, IsAnyOf: false,
Replicate
Test method OpenApiGenerator.UnitTests.DataTests.Replicate threw exception: VerifyException: Directory: /home/runner/work/OpenApiGenerator/OpenApiGenerator/src/tests/OpenApiGenerator.UnitTests/Snapshots/Replicate/Models NotEqual: - Received: _.received.txt Verified: _.verified.txt FileContent: NotEqual: Received: _.received.txt [ { Id: prediction_request, AddTypeName: false, Parents: null, Namespace: G, Settings: { TargetFramework: netstandard2.0, Namespace: G, ClassName: Api, GenerateConstructors: false, GroupByTags: false, GenerateMethods: false, MethodNamingConvention: OperationIdWithDots, MethodNamingConventionFallback: MethodAndPath, GenerateMethodsAsHttpClientExtensions: false, GenerateMethodsUsingSystemNetHttpJson: false, IncludeOperationIds: null, ExcludeOperationIds: null, IncludeTags: null, ExcludeTags: null, JsonSerializerContext: , GenerateJsonSerializerContextTypes: false, GenerateModels: false, IncludeModels: null, ExcludeModels: null, GeneratePolyfills: true, GenerateSdk: true, FromCli: false }, Properties: [ { Id: input, Name: Input, Type: { CSharpType: object, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: object, CSharpTypeWithNullability: object?, ShortCSharpTypeWithoutNullability: object, ShortCSharpTypeWithNullability: object?, IsAnyOf: false, IsReferenceable: false, ConverterType: }, IsRequired: true, IsDeprecated: false, Summary: The model's input as a JSON object. The input schema depends on what model you are running. To see the available inputs, click the "API" tab on the model you are running or [get the model version](#models.versions.get) and look at its `openapi_schema` property. For example, [stability-ai/sdxl](https://replicate.com/stability-ai/sdxl) takes `prompt` as an input. Files should be passed as HTTP URLs or data URLs. Use an HTTP URL when: - you have a large file &gt; 256kb - you want to be able to use the file multiple times - you want your prediction metadata to be associable with your input files Use a data URL when: - you have a small file &lt;= 256kb - you don't want to upload and host the file somewhere - you don't need to use the file again (Replicate will not store it) , ConverterType: , ParameterName: input, ArgumentName: input, ParameterDefaultValue: default }, { Id: stream, Name: Stream, Type: { CSharpType: bool, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: bool, CSharpTypeWithNullability: bool?, ShortCSharpTypeWithoutNullability: bool, ShortCSharpTypeWithNullability: bool?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: Request a URL to receive streaming output using [server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events). If the requested model version supports streaming, the returned prediction will have a `stream` entry in its `urls` property with an HTTPS URL that you can use to construct an [`EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource). , ConverterType: , ParameterName: stream,
LangSmith
Test method OpenApiGenerator.UnitTests.DataTests.LangSmith threw exception: VerifyException: Directory: /home/runner/work/OpenApiGenerator/OpenApiGenerator/src/tests/OpenApiGenerator.UnitTests/Snapshots/LangSmith/Models NotEqual: - Received: _.received.txt Verified: _.verified.txt FileContent: NotEqual: Received: _.received.txt [ { Id: RunUpdateSchemaExtended, AddTypeName: false, Parents: null, Namespace: G, Settings: { TargetFramework: netstandard2.0, Namespace: G, ClassName: Api, GenerateConstructors: false, GroupByTags: false, GenerateMethods: false, MethodNamingConventionFallback: MethodAndPath, GenerateMethodsAsHttpClientExtensions: false, GenerateMethodsUsingSystemNetHttpJson: false, IncludeOperationIds: null, ExcludeOperationIds: null, IncludeTags: null, ExcludeTags: null, JsonSerializerContext: , GenerateJsonSerializerContextTypes: false, GenerateModels: false, IncludeModels: null, ExcludeModels: null, GeneratePolyfills: true, GenerateSdk: true, FromCli: false }, Properties: [ { Id: end_time, Name: EndTime, Type: { CSharpType: global::System.DateTime, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: true, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: global::System.DateTime, CSharpTypeWithNullability: global::System.DateTime?, ShortCSharpTypeWithoutNullability: global::System.DateTime, ShortCSharpTypeWithNullability: global::System.DateTime?, IsAnyOf: false, IsReferenceable: false, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: , ConverterType: , ParameterName: endTime, ArgumentName: endTime, ParameterDefaultValue: default }, { Id: error, Name: Error, Type: { CSharpType: string?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: , ConverterType: , ParameterName: error, ArgumentName: error, ParameterDefaultValue: default }, { Id: inputs, Name: Inputs, Type: { CSharpType: global::System.AnyOf<object?, global::G.CreateChatCompletionRequest?, global::G.CreateCompletionRequest?>?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, AnyOfCount: 3, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: global::System.AnyOf<object?, global::G.CreateChatCompletionRequest?, global::G.CreateCompletionRequest?>, CSharpTypeWithNullability: global::System.AnyOf<object?, global::G.CreateChatCompletionRequest?, global::G.CreateCompletionRequest?>?, ShortCSharpTypeWithoutNullability: global::System.AnyOf<object?, CreateChatCompletionRequest?, CreateCompletionRequest?>, ShortCSharpTypeWithNullability: global::System.AnyOf<object?, CreateChatCompletionRequest?, CreateCom
SpecialCases
Test method OpenApiGenerator.UnitTests.DataTests.SpecialCases threw exception: VerifyException: Directory: /home/runner/work/OpenApiGenerator/OpenApiGenerator/src/tests/OpenApiGenerator.UnitTests/Snapshots/SpecialCases/Models NotEqual: - Received: _.received.txt Verified: _.verified.txt FileContent: NotEqual: Received: _.received.txt [ { Id: Pet, AddTypeName: false, Parents: null, Namespace: G, Settings: { TargetFramework: netstandard2.0, Namespace: G, ClassName: Api, GenerateConstructors: false, GroupByTags: false, GenerateMethods: false, MethodNamingConventionFallback: MethodAndPath, GenerateMethodsAsHttpClientExtensions: false, GenerateMethodsUsingSystemNetHttpJson: false, IncludeOperationIds: null, ExcludeOperationIds: null, IncludeTags: null, ExcludeTags: null, JsonSerializerContext: , GenerateJsonSerializerContextTypes: false, GenerateModels: false, IncludeModels: null, ExcludeModels: null, GeneratePolyfills: true, GenerateSdk: true, FromCli: false }, Properties: [ { Id: 4, Name: _4, Type: { CSharpType: string?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: Example: 1234, ConverterType: , ParameterName: _4, ArgumentName: _4, ParameterDefaultValue: default }, { Id: 1.5, Name: _1_5, Type: { CSharpType: bool, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: bool, CSharpTypeWithNullability: bool?, ShortCSharpTypeWithoutNullability: bool, ShortCSharpTypeWithNullability: bool?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: Example: true, ConverterType: , ParameterName: _1_5, ArgumentName: _1_5, ParameterDefaultValue: default }, { Id: 16:9, Name: _16_9, Type: { CSharpType: bool, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: bool, CSharpTypeWithNullability: bool?, ShortCSharpTypeWithoutNullability: bool, ShortCSharpTypeWithNullability: bool?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: Example: true, ConverterType: , ParameterName: _16_9, ArgumentName: _16_9, ParameterDefaultValue: default }, { Id: id, Name: Id, Type: { CSharpType: long, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: n
Dedoose
Test method OpenApiGenerator.UnitTests.DataTests.Dedoose threw exception: VerifyException: Directory: /home/runner/work/OpenApiGenerator/OpenApiGenerator/src/tests/OpenApiGenerator.UnitTests/Snapshots/Dedoose/Models NotEqual: - Received: _.received.txt Verified: _.verified.txt FileContent: NotEqual: Received: _.received.txt [ { Id: AccessList, AddTypeName: false, Parents: null, Namespace: G, Settings: { TargetFramework: netstandard2.0, Namespace: G, ClassName: Api, GenerateConstructors: false, GroupByTags: true, GenerateMethods: false, MethodNamingConventionFallback: MethodAndPath, GenerateMethodsAsHttpClientExtensions: false, GenerateMethodsUsingSystemNetHttpJson: false, IncludeOperationIds: null, ExcludeOperationIds: null, IncludeTags: null, ExcludeTags: null, JsonSerializerContext: , GenerateJsonSerializerContextTypes: false, GenerateModels: false, IncludeModels: null, ExcludeModels: null, GeneratePolyfills: true, GenerateSdk: true, FromCli: false }, Properties: [ { Id: id, Name: Id, Type: { CSharpType: string?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: , ConverterType: , ParameterName: id, ArgumentName: id, ParameterDefaultValue: default }, { Id: title, Name: Title, Type: { CSharpType: string?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: , ConverterType: , ParameterName: title, ArgumentName: title, ParameterDefaultValue: default }, { Id: description, Name: Description, Type: { CSharpType: string?, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null, EnumValues: null, Namespace: G, IsDeprecated: false, GenerateJsonSerializerContextTypes: false, CSharpTypeWithoutNullability: string, CSharpTypeWithNullability: string?, ShortCSharpTypeWithoutNullability: string, ShortCSharpTypeWithNullability: string?, IsAnyOf: false, IsReferenceable: true, ConverterType: }, IsRequired: false, IsDeprecated: false, Summary: , ConverterType: , ParameterName: description, ArgumentName: description, ParameterDefaultValue: default }, { Id: accessTags, Name: AccessTags, Type: { CSharpType: int, IsArray: false, IsEnum: false, IsBase64: false, IsDate: false, IsDateTime: false, Properties: null
Build, test and publish / Build, test and publish
Process completed with exit code 1.
Build, test and publish / Build, test and publish
$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 6091k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary