-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add openapi specs directly into the repository
- Loading branch information
Showing
356 changed files
with
33,446 additions
and
11,463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Check OpenAPI specs | ||
|
||
on: | ||
push: | ||
|
||
#env: | ||
# APIFY_STAGING_TOKEN: ${{ secrets.APIFY_STAGING_TOKEN }} | ||
|
||
jobs: | ||
build: | ||
name: Build the specification file | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js 22 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22 | ||
cache: 'npm' | ||
cache-dependency-path: 'package-lock.json' | ||
registry-url: 'https://npm.pkg.github.com/' | ||
scope: '@apify-packages' | ||
|
||
- name: Enable corepack | ||
run: | | ||
corepack enable | ||
- name: Install Dependencies | ||
run: npm ci --force | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- run: | | ||
npm ci | ||
npm run redoc:test | ||
# - uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: '3.10' | ||
# - run: python -m pip install schemathesis==3.35.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
# See https://redoc.ly/docs/cli/configuration/ for more information. | ||
apis: | ||
main@v1: | ||
root: openapi/openapi/openapi.yaml | ||
|
||
extends: | ||
- recommended | ||
|
||
rules: | ||
spec: error | ||
no-unused-components: error | ||
|
||
theme: | ||
htmlTemplate: openapi/docs/index.html | ||
|
||
openapi: | ||
requiredPropsFirst: true | ||
noAutoAuth: true | ||
hideDownloadButton: true | ||
onlyRequiredInSamples: true | ||
nativeScrollbars: true | ||
scrollYOffset: 68 | ||
colors: | ||
primary: | ||
main: '#1f9ec8' | ||
expandDefaultResponse: true | ||
expandDefaultRequest: true | ||
expandResponses: all | ||
schemaExpansionLevel: 2 | ||
jsonSampleExpandLevel: 2 | ||
schemasExpansionLevel: 2 | ||
jsonSamplesExpandLevel: 2 | ||
|
||
plugins: | ||
- openapi/plugins/apify.js | ||
|
||
decorators: | ||
apify/legacy-doc-url-decorator: on | ||
apify/client-references-links-decorator: on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ SER = "SER" | |
|
||
[files] | ||
extend-exclude = ['sources/api/*.mdx'] | ||
|
||
[files] | ||
extend-exclude = ['sources/api/*.mdx'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.