Skip to content

Use IAsyncSwaggerProvider in CLI tofile command #2507

Use IAsyncSwaggerProvider in CLI tofile command

Use IAsyncSwaggerProvider in CLI tofile command #2507

Re-run triggered April 19, 2026 10:27
Status Failure
Total duration 9m 53s
Artifacts 6

build.yml

on: pull_request
Matrix: build
validate-packages
0s
validate-packages
publish-myget
0s
publish-myget
publish-nuget
0s
publish-nuget
Fit to window
Zoom out
Zoom in

Annotations

29 errors
ubuntu-latest
Process completed with exit code 1.
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet8_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet8_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test"
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet8_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "parameters": [ { "name": "id", "in": "path", "description": "The product id", "requi
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet9_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test"
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet9_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "parameters": [ { "name": "id", "in": "path", "description": "The product id", "requi
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet9_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet10_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet10_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "parameters": [ { "name": "id", "in": "path", "description": "The product id", "re
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /home/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet10_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" },
macos-latest
Process completed with exit code 1.
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet10_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "tes
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet10_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" },
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet8_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test"
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet8_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "parameters": [ { "name": "id", "in": "path", "description": "The product id", "requ
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet8_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" },
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet9_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": {
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet9_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" },
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: /Users/runner/work/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore/test/Swashbuckle.AspNetCore.IntegrationTests/snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet9_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test"
windows-latest
Process completed with exit code 1.
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet8_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "parameters": [ { "name": "id", "in": "path", "description": "The product id", "required": true,
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet8_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } },
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/8_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet8_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet8_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "put": {
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet9_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "put": {
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet9_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } },
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/9_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet9_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet9_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "parameters": [ { "name": "id", "in": "path", "description": "The product id", "required": true,
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=2.0.DotNet10_0.received.txt { "swagger": "2.0", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "consumes": [ "application/json", "text/json", "application/*+json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "body", "description": "", "required": true, "schema": { "$ref": "#/definitions/Product" }, "x-purpose": "test" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "produces": [ "application/json" ], "parameters": [ { "in": "query", "name": "kw", "description": "A list of search terms", "type": "string", "default": "foobar" } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "produces": [ "application/json" ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/Product" } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "produces": [ "application/json" ], "parameters": [ { "in": "path", "name": "id", "description": "The product id", "required": true, "type": "integer", "format": "int32" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/Product" } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "put": {
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=3.1.DotNet10_0.received.txt { "openapi": "3.1.1", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "description": "Represents a product", "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }
Swashbuckle.AspNetCore.IntegrationTests.VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson(startupType: typeof(Basic.Startup): test/Swashbuckle.AspNetCore.IntegrationTests/VerifyTests.cs#L11
VerifyException : Directory: D:\a\Swashbuckle.AspNetCore\Swashbuckle.AspNetCore\test\Swashbuckle.AspNetCore.IntegrationTests\snapshots/10_0 NotEqual: - Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet10_0.received.txt Verified: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.verified.txt FileContent: NotEqual: Received: VerifyTests.SwaggerEndpoint_ReturnsValidSwaggerJson_startupType=Basic.Startup_swaggerRequestUri=v1.DotNet10_0.received.txt { "openapi": "3.0.4", "info": { "title": "Test API V1", "description": "A sample API for testing Swashbuckle", "termsOfService": "http://tempuri.org/terms", "version": "v1" }, "paths": { "/products": { "post": { "tags": [ "CrudActions" ], "summary": "Creates a product", "description": "## Heading 1\r\n\r\n POST /products\r\n {\r\n \"id\": \"123\",\r\n \"description\": \"Some product\"\r\n }", "operationId": "CreateProduct", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Product" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Product" } } }, "required": true, "x-purpose": "test" }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Product" } } } } }, "x-async-filter": "async-test", "x-purpose": "test" }, "get": { "tags": [ "CrudActions" ], "summary": "Searches the collection of products by description key words", "operationId": "SearchProducts", "parameters": [ { "name": "kw", "in": "query", "description": "A list of search terms", "schema": { "type": "string", "default": "foobar" }, "example": "hello" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/all": { "get": { "tags": [ "CrudActions" ], "summary": "Get all products", "description": "```\r\n{\r\n \"Id\":1,\r\n \"Description\":\"\",\r\n \"Status\": 0,\r\n \"Status2\": 1\r\n}\r\n \r\n```", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } } } } } }, "x-async-filter": "async-test", "x-purpose": "test" } }, "/products/{id}": { "get": { "tags": [ "CrudActions" ], "summary": "Returns a specific product", "operationId": "GetProduct", "parameters": [ { "name": "id", "in": "path", "description": "The product id", "required": true

Artifacts

Produced during runtime
Name Size Digest
coverage-Linux
4.58 MB
sha256:cbce3c40d3a3de9002e577836312e9e962eb6548fdb36e2b9ce2e63855e2e1ba
coverage-Windows
4.58 MB
sha256:2e083d6bfa5e48f7a806b56ee1b5f9b0e51848db07f9181a632682a71bcd1d01
coverage-macOS
4.59 MB
sha256:1c16da7bb94970efa6548d8f05ab1107eaf8011093a4d42e43688bfb3092fc55
packages-Linux
5.12 MB
sha256:24112a2e59ef0afc5effb42b0b8cbfac5858cc8239f2e81fdf442b636cf9ff99
packages-Windows
5.12 MB
sha256:136fbf6e395f1c175be1200639ff96a622811a6d828fbb8252ab2314105356c9
packages-macOS
5.12 MB
sha256:401463adfdb6058b3f3b3a8b7e9e8b2107886835363919420c337b0a92171487