Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.12 KB

File metadata and controls

19 lines (14 loc) · 1.12 KB

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:

  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:

    npm install @digdir/dialogporten-schema