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

chore(swagger-bugfix): refactor workflow to resolve release version tag issue #295

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

saudkhan116
Copy link
Contributor

Why we create this PR?

Problem Statement

The swagger workflow had a bug that it didn't redirect to the latest release tag e.g., 2.2.0 by default once a new released is published and swagger is accessible from the link https://app.swaggerhub.com/apis/eclipse-tractusx-bot/digital-product-pass

This PR contains the following changes:

  • Resolved the release version tagging issue.
  • Refactored the workflow

What we want to achieve with this PR?

Expected Behavior

To trigger the workflow and publish OpenAPI specs through central swaggerhub https://app.swaggerhub.com/apis/eclipse-tractusx-bot/digital-product-pass once a new release is published. The API specs must access the new published version of release tag by default.

What is new?

Updated

  • Refactored the swagger worflow

Fixed Issues

  • Fixed tagging issue in the swagger worflow

Linked Issue(s):

#279

@saudkhan116 saudkhan116 added bug Something isn't working workflows Issue or PR connected to the Github Workflows labels Apr 24, 2024
@saudkhan116 saudkhan116 added this to the v2.3.0 milestone Apr 24, 2024
@saudkhan116 saudkhan116 linked an issue Apr 24, 2024 that may be closed by this pull request
Copy link
Contributor

@matbmoser matbmoser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good that you could fix this!

@saudkhan116 saudkhan116 merged commit 661afc2 into main Apr 24, 2024
6 checks passed
@saudkhan116 saudkhan116 self-assigned this Apr 24, 2024
@saudkhan116 saudkhan116 deleted the bugfix/fix-swagger-workflow branch May 6, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working workflows Issue or PR connected to the Github Workflows
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Open API Swagger Workflow is not working
2 participants