Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't find Workflow endpoint on swagger #6225

Open
cuong21951 opened this issue Dec 18, 2024 · 2 comments
Open

[BUG] Can't find Workflow endpoint on swagger #6225

cuong21951 opened this issue Dec 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cuong21951
Copy link

Description

A clear and concise description of what the bug is. Please include any error messages or codes here.

Steps to Reproduce

To help us identify the issue more quickly, please follow these guidelines:

  1. Detailed Steps: Provide a step-by-step description of what leads to the bug. Be as specific as possible.

  2. Code Snippets: If the issue involves code (e.g., JavaScript error, server request failure), include the relevant snippets where the issue occurs.

  3. Attachments:

    • Workflow JSON: If your issue is reproducible with a specific workflow, please attach the workflow's JSON file. This will help us understand the exact process that leads to the problem.
    • Sample Project: If possible, attach a minimal sample project or code that reproduces the issue. This could be a simplified version of your project that isolates and demonstrates the bug.
  4. Reproduction Rate: Indicate how often the bug occurs when following these steps (e.g., "every time", "intermittently: about 50% of the time").

  5. Video/Screenshots: Sometimes, complex behaviors are better shown than described. If you think a video or screenshots would help clarify the issue, please include them.

  6. Additional Configuration:

    • Mention any specific settings, features, or configurations that need to be enabled or present to reproduce the issue.

Providing a comprehensive and clear description will greatly assist in diagnosing the problem quickly and accurately. If you're unable to share some of the requested information publicly, please note that, and we can arrange for secure information transfer.

Expected Behavior

Describe what you expected to happen.

Actual Behavior

Describe what actually happened. Include screenshots, if applicable.

Screenshots

If possible, add screenshots or screen recordings to help explain the problem.

Environment

  • Elsa Package Version: Specify the version. If you've cloned the repo, mention if you are using the latest source code from the main branch.
  • Operating System: Include your OS version (e.g., Windows 10, macOS Big Sur, Ubuntu 18.04).
  • Browser and Version: If applicable, include your browser and version (e.g., Chrome 92).

Log Output

Include any relevant log output or error messages that might help diagnose the issue.

Troubleshooting Attempts

Describe any steps you have taken to troubleshoot or resolve the issue yourself.

Additional Context

Add any other context about the problem here. This could include the frequency of the issue (e.g., intermittent, every time), conditions under which the issue appears, etc.

Related Issues

Link to any related issues here.
Hi I just want to intergrate the workflow endpoint with swagger. Can you help me to do that ?

@cuong21951 cuong21951 added the bug Something isn't working label Dec 18, 2024
@cuong21951
Copy link
Author

image

@Nekrosis1
Copy link

With default configuration, Swagger is not able to discover/document endpoints created at runtime, like the ones registered by workflow activities. However, Swagger can be configured to adjust its endpoints with certain configurations in Swashbuckle.
However, as far as I am aware, Elsa currently does not supports this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants