chore: rename route from api-v2 to api (#7379)

* chore: rename route from api-v2 to api

* chore: change oas references

* chore: remove v2 ref
This commit is contained in:
Riqwan Thamir
2024-05-21 10:44:02 +02:00
committed by GitHub
parent e72174c4ff
commit 442b0b2038
368 changed files with 43 additions and 46 deletions

View File

@@ -29,10 +29,10 @@ jobs:
- name: Build packages
run: yarn build
working-directory: www/utils
- name: Check Commit
id: check-commit
run: 'yarn check:release-commit ${{ github.sha }}'
run: "yarn check:release-commit ${{ github.sha }}"
working-directory: www/utils/packages/scripts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -85,10 +85,10 @@ jobs:
- name: Build packages
run: yarn build
working-directory: www/utils
- name: Check Commit
id: check-commit
run: 'yarn check:release-commit ${{ github.sha }}'
run: "yarn check:release-commit ${{ github.sha }}"
working-directory: www/utils/packages/scripts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -97,7 +97,7 @@ jobs:
- name: Run docblock generator
if: steps.check-commit.outputs.is_release_commit == 'true'
run: "yarn start run ../../../../packages/medusa/src/api-v2 --type oas && yarn start clean:oas"
run: "yarn start run ../../../../packages/medusa/src/api --type oas && yarn start clean:oas"
working-directory: www/utils/packages/docblock-generator
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -113,4 +113,4 @@ jobs:
title: "chore(docs): Generated OAS"
body: "This PR holds all generated OAS for the upcoming release."
branch: "chore/generate-oas"
add-paths: www/utils/generated/oas-output/**
add-paths: www/utils/generated/oas-output/**