GraphQl schema and OpenAPI spec for Dialogporten
npm install @digdir/dialogporten-schemaThis npm package contains both the Swagger and GraphQL schema definitions for the Dialogporten API. It is designed to provide developers with the necessary specifications to interact with the Dialogporten API effectively.
1. Ensure you have npm installed. You can check by running npm -v in your terminal. If npm is not installed, download and install Node.js from nodejs.org, which includes npm.
2. Add the Dialogporten Schema Package to your project dependencies. Run the following command in your project directory:
``bash``
npm install @digdir/dialogporten-schema