Documentation
  • Stooa
  • Code of conduct
  • How to contribute
    • Translations
  • Development
    • Setup and run development environment
    • Structure
    • Creating a release
    • How to update Jitsi Meet Library?
    • How to update the API Platform autogenerated types?
Powered by GitBook
On this page

Was this helpful?

  1. Development

How to update the API Platform autogenerated types?

PreviousHow to update Jitsi Meet Library?

Last updated 2 years ago

Was this helpful?

is a set of tools to build and consume web APIs via PHP.

The API Platform autogenerated interfaces are located in frontend/src/types/api-platform.

In order to update them, you just need to:

  1. Delete the interfaces you want to update

  2. Execute in local environment

  3. Lint the files

cd frontend
rm -rf src/types/api-platform
NODE_TLS_REJECT_UNAUTHORIZED=0 npm init @api-platform/client https://localhost:8443 src/types/api-platform -- --generator typescript
npx eslint src/types/api-platform --fix
API Platform