@digdir/dialogporten-schema 1.0.11 → 1.7.1-6490625
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -0
- package/package.json +1 -1
- package/schema.verified.graphql +1 -1
- package/swagger.verified.json +6 -6
package/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Dialogporten Schema Package
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
## Description
|
|
6
|
+
This package includes:
|
|
7
|
+
- **GraphQL Schema (schema.verified.graphql)**: Defines the types, queries, and mutations available in the Dialogporten GraphQL API.
|
|
8
|
+
- **OpenAPI Specification ((swagger.verified.json))**: Provides a detailed description of the RESTful endpoints, parameters, and models used in the Dialogporten API.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
To use this package, include it in your project dependencies using npm:
|
|
12
|
+
To install the Dialogporten Schema Package in your JavaScript project, follow these steps:
|
|
13
|
+
|
|
14
|
+
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](https://nodejs.org/), which includes npm.
|
|
15
|
+
|
|
16
|
+
2. Add the Dialogporten Schema Package to your project dependencies. Run the following command in your project directory:
|
|
17
|
+
```bash
|
|
18
|
+
npm install @digdir/dialogporten-schema
|
|
19
|
+
```
|
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
package/swagger.verified.json
CHANGED
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
{
|
|
267
267
|
"Id": "858177cb-8584-4d10-a086-3a5defa7a6c3",
|
|
268
268
|
"Url": "http://example.com/some-url",
|
|
269
|
-
"
|
|
269
|
+
"MediaType": "application/json",
|
|
270
270
|
"ConsumerType": 0
|
|
271
271
|
}
|
|
272
272
|
]
|
|
@@ -2604,7 +2604,7 @@
|
|
|
2604
2604
|
"type": "string",
|
|
2605
2605
|
"format": "uri"
|
|
2606
2606
|
},
|
|
2607
|
-
"
|
|
2607
|
+
"mediaType": {
|
|
2608
2608
|
"type": "string",
|
|
2609
2609
|
"nullable": true
|
|
2610
2610
|
},
|
|
@@ -3159,7 +3159,7 @@
|
|
|
3159
3159
|
"type": "string",
|
|
3160
3160
|
"format": "uri"
|
|
3161
3161
|
},
|
|
3162
|
-
"
|
|
3162
|
+
"mediaType": {
|
|
3163
3163
|
"type": "string",
|
|
3164
3164
|
"nullable": true
|
|
3165
3165
|
},
|
|
@@ -3504,7 +3504,7 @@
|
|
|
3504
3504
|
"type": "string",
|
|
3505
3505
|
"format": "uri"
|
|
3506
3506
|
},
|
|
3507
|
-
"
|
|
3507
|
+
"mediaType": {
|
|
3508
3508
|
"type": "string",
|
|
3509
3509
|
"nullable": true
|
|
3510
3510
|
},
|
|
@@ -4225,7 +4225,7 @@
|
|
|
4225
4225
|
"type": "string",
|
|
4226
4226
|
"format": "uri"
|
|
4227
4227
|
},
|
|
4228
|
-
"
|
|
4228
|
+
"mediaType": {
|
|
4229
4229
|
"type": "string",
|
|
4230
4230
|
"nullable": true
|
|
4231
4231
|
},
|
|
@@ -4474,4 +4474,4 @@
|
|
|
4474
4474
|
}
|
|
4475
4475
|
}
|
|
4476
4476
|
}
|
|
4477
|
-
}
|
|
4477
|
+
}
|