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:
12
.github/workflows/generate-docblocks.yml
vendored
12
.github/workflows/generate-docblocks.yml
vendored
@@ -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/**
|
||||
|
||||
Reference in New Issue
Block a user