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

update generator to 7.4.0 and changes for api / model docs #75

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 60 additions & 0 deletions .github/workflows/push-sdk-docs-to-dev-portal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: "Push Powershell SDK Docs to Developer Portal"

on:
push:
branches:
- main
workflow_dispatch:

jobs:
push_spec_workflow:
name: Push API spec changes
runs-on: ubuntu-latest
steps:
# Checkout the master branch request to run rsync
- name: Checkout PR branch
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
path: powershell-sdk

# Checkout the main branch of the developer portal to push changes
- name: Checkout API Specs Repo
uses: actions/checkout@v2
with:
repository: sailpoint-oss/developer.sailpoint.com
path: developer-community
ref: main

- name: Install rsync
run: |
sudo apt install rsync grsync

- name: Sync files between folders
run: |
CURRENT_V3_SPEC_PATH="powershell-sdk/PSSailpoint/v3/docs"
NEW_V3_API_SPEC_PATH="developer-community/docs/tools/sdk/powershell/V3"

CURRENT_BETA_SPEC_PATH="powershell-sdk/PSSailpoint/beta/docs"
NEW_BETA_API_SPEC_PATH="developer-community/docs/tools/sdk/powershell/Beta"

rsync -cav --delete $CURRENT_V3_SPEC_PATH $NEW_V3_API_SPEC_PATH
rsync -cav --delete $CURRENT_BETA_SPEC_PATH $NEW_BETA_API_SPEC_PATH

cd developer-community
git status

git config --unset-all http.https://github.com/.extraheader
git config --local user.email "[email protected]"
git config --local user.name "developer-relations-sp"

git add .
git commit -m "Update to golang SDK docs: ${{ github.run_id }}"

git status

git remote set-url origin https://${{secrets.DEVREL_SERVICE_TOKEN}}@github.com/sailpoint-oss/developer.sailpoint.com.git

git remote -v

git push
2 changes: 1 addition & 1 deletion PSSailpoint/PSSailpoint.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Sailpoint Developer Relations
#
# Generated on: 04/23/2024
# Generated on: 4/23/2024
#

@{
Expand Down
2 changes: 1 addition & 1 deletion PSSailpoint/beta/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.1.0
7.4.0
1 change: 1 addition & 0 deletions PSSailpoint/beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This PowerShell module is automatically generated by the [OpenAPI Generator](htt

- API version: 3.1.0-beta
- SDK version: 1.3.0
- Generator version: 7.4.0
- Build package: org.openapitools.codegen.languages.PowerShellClientCodegen
For more information, please visit [https://developer.sailpoint.com/discuss/api-help](https://developer.sailpoint.com/discuss/api-help)

Expand Down
25 changes: 0 additions & 25 deletions PSSailpoint/beta/docs/AccessConstraint.md

This file was deleted.

23 changes: 0 additions & 23 deletions PSSailpoint/beta/docs/AccessCriteria.md

This file was deleted.

25 changes: 0 additions & 25 deletions PSSailpoint/beta/docs/AccessCriteriaCriteriaListInner.md

This file was deleted.

37 changes: 0 additions & 37 deletions PSSailpoint/beta/docs/AccessItemAccessProfileResponse.md

This file was deleted.

33 changes: 0 additions & 33 deletions PSSailpoint/beta/docs/AccessItemAccountResponse.md

This file was deleted.

27 changes: 0 additions & 27 deletions PSSailpoint/beta/docs/AccessItemAppResponse.md

This file was deleted.

25 changes: 0 additions & 25 deletions PSSailpoint/beta/docs/AccessItemApproverDto.md

This file was deleted.

29 changes: 0 additions & 29 deletions PSSailpoint/beta/docs/AccessItemAssociated.md

This file was deleted.

45 changes: 0 additions & 45 deletions PSSailpoint/beta/docs/AccessItemAssociatedAccessItem.md

This file was deleted.

27 changes: 0 additions & 27 deletions PSSailpoint/beta/docs/AccessItemDiff.md

This file was deleted.

Loading
Loading