@digdir/dialogporten-schema
v1.42.0
Published
GraphQl schema and OpenAPI spec for Dialogporten
Downloads
2,998
Readme
Dialogporten Schema Package
This 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.
Description
This package includes:
- GraphQL Schema (schema.verified.graphql): Defines the types, queries, and mutations available in the Dialogporten GraphQL API.
- OpenAPI Specification ((swagger.verified.json)): Provides a detailed description of the RESTful endpoints, parameters, and models used in the Dialogporten API.
Usage
To use this package, include it in your project dependencies using npm: To install the Dialogporten Schema Package in your JavaScript project, follow these steps:
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.Add the Dialogporten Schema Package to your project dependencies. Run the following command in your project directory:
npm install @digdir/dialogporten-schema