Skip to content

Commit

Permalink
rename top level openapi folder
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Nov 28, 2024
1 parent c4ebaa2 commit 51287e8
Show file tree
Hide file tree
Showing 234 changed files with 7 additions and 16,048 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ tsconfig.tsbuildinfo
.turbo
sources/api/*
!sources/api/sidebars.js
openapi/openapi.yaml
apify-api.yaml
4 changes: 2 additions & 2 deletions .redocly.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://redoc.ly/docs/cli/configuration/ for more information.
apis:
main@v1:
root: openapi/openapi/openapi.yaml
root: apify-api/openapi/openapi.yaml

extends:
- recommended
Expand All @@ -22,7 +22,7 @@ theme:
jsonSamplesExpandLevel: 2

plugins:
- openapi/plugins/apify.js
- apify-api/plugins/apify.js

decorators:
apify/legacy-doc-url-decorator: on
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ module.exports = {
config: {
/** @type {import('docusaurus-plugin-openapi-docs').Options} */
v2: {
specPath: 'openapi.yaml',
specPath: 'apify-api.yaml',
outputDir: './sources/api',
sidebarOptions: {
groupPathsBy: 'tag',
Expand Down
16,041 changes: 0 additions & 16,041 deletions openapi.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"api:clean": "docusaurus clean-api-docs all",
"api:rebuild": "npm run api:clean && npm run api:generate",
"redoc:start": "redocly preview-docs",
"redoc:build": "redocly bundle -o openapi",
"redoc:test": "redocly lint && redocly bundle -o openapi",
"redoc:test2": "redocly lint && redocly bundle -o openapi && ./bin/test && bin/schemathesis",
"redoc:build": "redocly bundle -o apify-api",
"redoc:test": "redocly lint && npm run redoc:build",
"redoc:test2": "redocly lint && npm run redoc:build && bin/schemathesis",
"write-translations": "docusaurus write-translations",
"version": "docusaurus version",
"rename-version": "docusaurus rename-version",
Expand Down

0 comments on commit 51287e8

Please sign in to comment.