elsa-workflows / elsa-workflows/elsa-core

[BUG] There is a BUG when Api project cooperates with swagger.

Open
#5,550 1 comment 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

## Description
When the Workflows.Api project was introduced, everything was normal, but when it was combined with FastEndpoint and swagger, an exception occurred。

## Steps to Reproduce
To help us identify the issue more quickly, please follow these guidelines:

1. Services.SwaggerDocument();

2. app.UseWorkflowsApi() .UseSwaggerGen();

## Expected Behavior
Swagger is running normally.

## Actual Behavior
Swagger running error

## Screenshots
![image](https://github.com/elsa-workflows/elsa-core/assets/43058612/bf1e3ebc-fbd6-44b7-a821-5cd6e3546e69)

## Environment
- **Elsa Package Version**: 3.1.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.