Skip to content
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/push_openapi_spec_to_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build and sync docs on pushes to master branch

on:
push:
branches:
- master

defaults:
run:
Expand All @@ -29,9 +27,9 @@ jobs:
# GitHub Actions environment variable name is README_API so to access "key" from the json we can use README_API_KEY
parse-json-secrets: true
- name: Check out repo 📚
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Run `openapi` command 🚀
uses: readmeio/rdme@v8
uses: readmeio/rdme@v10
with:
# id is the id of the API definition
rdme: openapi defs/asana_oas.yaml --key=${{ env.README_API_KEY }} --id=64a8a031f326ee000e3a92f3
rdme: openapi upload defs/asana_oas.yaml --key=${{ env.README_API_KEY }} --branch=395.012.998 --slug=asana.json
2 changes: 1 addition & 1 deletion defs/asana_oas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14803,7 +14803,7 @@ paths:
- $ref: '#/components/parameters/goal_path_gid'
- $ref: '#/components/parameters/pretty'
get:
summary: Get a goal
summary: Get a goal -- OAS UPDATE
description: |-
<b>Required scope: </b><code>goals:read</code>

Expand Down
Loading