You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR overhauls our OpenAPI setup completely:
- new API docs are available on
https://docs.apify.com/api/v2-new/apify-api
- use https://github.com/PaloAltoNetworks/docusaurus-openapi-docs
instead of the redoc plugin
- embed the OpenAPI specs to this repository (`apify-api` folder)
- both the specs yaml file and the MDX files are git ignored
- the spec include (not only) corrections from
apify/openapi#108
- provide NPM scripts to work with the OpenAPI specs, namely
- `npm start` will generate the specs as well as produce the MDX files
out of them
- `npm run api:rebuild` will rebuild the yaml spec file and recreate the
MDX files
- update docusaurus to v3.6.3 and enable `faster` mode (rust based
tooling)
- cache Run on Apify code hashes locally
Things to discuss:
- ~index page now only redirects, maybe we should move the content from
the introduction section (so outside of OpenAPI specs)~
- ~folder structure~
- OpenAPI tests and schemathesis
- nested readmes in openapi folder
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jindřich Bär <jindrichbar@gmail.com>
0 commit comments