Przeglądaj źródła

new api import

master
Daniel 2 lat temu
rodzic
commit
67ea2bdd0a
12 zmienionych plików z 48 dodań i 81 usunięć
  1. +1
    -1
      matsen-tool/openapi.json
  2. +22
    -58
      matsen-tool/openapi.yaml
  3. +3
    -3
      matsen-tool/src/app/core/api/v1/api/comment.service.ts
  4. +3
    -3
      matsen-tool/src/app/core/api/v1/api/contact.service.ts
  5. +2
    -2
      matsen-tool/src/app/core/api/v1/api/media.service.ts
  6. +3
    -3
      matsen-tool/src/app/core/api/v1/api/partner.service.ts
  7. +3
    -3
      matsen-tool/src/app/core/api/v1/api/post.service.ts
  8. +3
    -3
      matsen-tool/src/app/core/api/v1/api/product.service.ts
  9. +2
    -2
      matsen-tool/src/app/core/api/v1/api/user.service.ts
  10. +2
    -1
      matsen-tool/src/app/core/api/v1/model/post.ts
  11. +2
    -1
      matsen-tool/src/app/core/api/v1/model/postJsonhal.ts
  12. +2
    -1
      matsen-tool/src/app/core/api/v1/model/postJsonld.ts

+ 1
- 1
matsen-tool/openapi.json
Plik diff jest za duży
Wyświetl plik


+ 22
- 58
matsen-tool/openapi.yaml Wyświetl plik

@@ -155,7 +155,7 @@ paths:
-
name: id
in: path
description: 'CommentApi identifier'
description: 'Comment identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -180,7 +180,7 @@ paths:
-
name: id
in: path
description: 'CommentApi identifier'
description: 'Comment identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -223,7 +223,7 @@ paths:
-
name: id
in: path
description: 'CommentApi identifier'
description: 'Comment identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -414,7 +414,7 @@ paths:
-
name: id
in: path
description: 'ContactApi identifier'
description: 'Contact identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -439,7 +439,7 @@ paths:
-
name: id
in: path
description: 'ContactApi identifier'
description: 'Contact identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -482,7 +482,7 @@ paths:
-
name: id
in: path
description: 'ContactApi identifier'
description: 'Contact identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -642,7 +642,7 @@ paths:
-
name: id
in: path
description: 'MediaObject identifier'
description: 'Media identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -667,7 +667,7 @@ paths:
-
name: id
in: path
description: 'MediaObject identifier'
description: 'Media identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -896,7 +896,7 @@ paths:
-
name: id
in: path
description: 'PartnerApi identifier'
description: 'Partner identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -921,7 +921,7 @@ paths:
-
name: id
in: path
description: 'PartnerApi identifier'
description: 'Partner identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -964,7 +964,7 @@ paths:
-
name: id
in: path
description: 'PartnerApi identifier'
description: 'Partner identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1181,7 +1181,7 @@ paths:
-
name: id
in: path
description: 'PostingApi identifier'
description: 'Post identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1206,7 +1206,7 @@ paths:
-
name: id
in: path
description: 'PostingApi identifier'
description: 'Post identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1249,7 +1249,7 @@ paths:
-
name: id
in: path
description: 'PostingApi identifier'
description: 'Post identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1429,7 +1429,7 @@ paths:
-
name: id
in: path
description: 'ProductApi identifier'
description: 'Product identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1454,7 +1454,7 @@ paths:
-
name: id
in: path
description: 'ProductApi identifier'
description: 'Product identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1497,7 +1497,7 @@ paths:
-
name: id
in: path
description: 'ProductApi identifier'
description: 'Product identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1662,7 +1662,7 @@ paths:
-
name: id
in: path
description: 'UserApi identifier'
description: 'User identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1705,7 +1705,7 @@ paths:
-
name: id
in: path
description: 'UserApi identifier'
description: 'User identifier'
required: true
deprecated: false
allowEmptyValue: false
@@ -1774,7 +1774,6 @@ components:
- 'null'
owner:
readOnly: true
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1786,7 +1785,6 @@ components:
- string
- 'null'
post:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1820,7 +1818,6 @@ components:
- 'null'
owner:
readOnly: true
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1832,7 +1829,6 @@ components:
- string
- 'null'
post:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1880,7 +1876,6 @@ components:
- 'null'
owner:
readOnly: true
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1892,7 +1887,6 @@ components:
- string
- 'null'
post:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1922,7 +1916,6 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1933,7 +1926,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -1999,7 +1991,6 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2010,7 +2001,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2090,7 +2080,6 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2101,7 +2090,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2252,7 +2240,6 @@ components:
- string
- 'null'
logo:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2326,7 +2313,6 @@ components:
- string
- 'null'
logo:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2414,7 +2400,6 @@ components:
- string
- 'null'
logo:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2456,7 +2441,6 @@ components:
- 'null'
owner:
readOnly: true
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2468,14 +2452,12 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2485,7 +2467,7 @@ components:
description: 'array<int, CommentApi>'
type: array
items:
type: string
$ref: '#/components/schemas/Comment'
createdAt:
readOnly: true
type:
@@ -2509,14 +2491,12 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2565,7 +2545,6 @@ components:
- 'null'
owner:
readOnly: true
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2577,14 +2556,12 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2594,7 +2571,7 @@ components:
description: 'array<int, CommentApi>'
type: array
items:
type: string
$ref: '#/components/schemas/Comment.jsonhal'
createdAt:
readOnly: true
type:
@@ -2627,14 +2604,12 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2681,7 +2656,6 @@ components:
- 'null'
owner:
readOnly: true
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2693,14 +2667,12 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2710,7 +2682,7 @@ components:
description: 'array<int, CommentApi>'
type: array
items:
type: string
$ref: '#/components/schemas/Comment.jsonld'
createdAt:
readOnly: true
type:
@@ -2734,14 +2706,12 @@ components:
- string
- 'null'
partner:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
contact:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2761,7 +2731,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2800,7 +2769,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2853,7 +2821,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2894,7 +2861,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -2948,7 +2914,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
@@ -3016,7 +2981,6 @@ components:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'


+ 3
- 3
matsen-tool/src/app/core/api/v1/api/comment.service.ts Wyświetl plik

@@ -186,7 +186,7 @@ export class CommentService {
/**
* Removes the Comment resource.
* Removes the Comment resource.
* @param id CommentApi identifier
* @param id Comment identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -257,7 +257,7 @@ export class CommentService {
/**
* Retrieves a Comment resource.
* Retrieves a Comment resource.
* @param id CommentApi identifier
* @param id Comment identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -332,7 +332,7 @@ export class CommentService {
/**
* Updates the Comment resource.
* Updates the Comment resource.
* @param id CommentApi identifier
* @param id Comment identifier
* @param comment The updated Comment resource
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.


+ 3
- 3
matsen-tool/src/app/core/api/v1/api/contact.service.ts Wyświetl plik

@@ -198,7 +198,7 @@ export class ContactService {
/**
* Removes the Contact resource.
* Removes the Contact resource.
* @param id ContactApi identifier
* @param id Contact identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -269,7 +269,7 @@ export class ContactService {
/**
* Retrieves a Contact resource.
* Retrieves a Contact resource.
* @param id ContactApi identifier
* @param id Contact identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -344,7 +344,7 @@ export class ContactService {
/**
* Updates the Contact resource.
* Updates the Contact resource.
* @param id ContactApi identifier
* @param id Contact identifier
* @param contact The updated Contact resource
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.


+ 2
- 2
matsen-tool/src/app/core/api/v1/api/media.service.ts Wyświetl plik

@@ -199,7 +199,7 @@ export class MediaService {
/**
* Removes the Media resource.
* Removes the Media resource.
* @param id MediaObject identifier
* @param id Media identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -270,7 +270,7 @@ export class MediaService {
/**
* Retrieves a Media resource.
* Retrieves a Media resource.
* @param id MediaObject identifier
* @param id Media identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/


+ 3
- 3
matsen-tool/src/app/core/api/v1/api/partner.service.ts Wyświetl plik

@@ -213,7 +213,7 @@ export class PartnerService {
/**
* Removes the Partner resource.
* Removes the Partner resource.
* @param id PartnerApi identifier
* @param id Partner identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -284,7 +284,7 @@ export class PartnerService {
/**
* Retrieves a Partner resource.
* Retrieves a Partner resource.
* @param id PartnerApi identifier
* @param id Partner identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -359,7 +359,7 @@ export class PartnerService {
/**
* Updates the Partner resource.
* Updates the Partner resource.
* @param id PartnerApi identifier
* @param id Partner identifier
* @param partner The updated Partner resource
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.


+ 3
- 3
matsen-tool/src/app/core/api/v1/api/post.service.ts Wyświetl plik

@@ -218,7 +218,7 @@ export class PostService {
/**
* Removes the Post resource.
* Removes the Post resource.
* @param id PostingApi identifier
* @param id Post identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -289,7 +289,7 @@ export class PostService {
/**
* Retrieves a Post resource.
* Retrieves a Post resource.
* @param id PostingApi identifier
* @param id Post identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -364,7 +364,7 @@ export class PostService {
/**
* Updates the Post resource.
* Updates the Post resource.
* @param id PostingApi identifier
* @param id Post identifier
* @param postPostingPatch The updated Post resource
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.


+ 3
- 3
matsen-tool/src/app/core/api/v1/api/product.service.ts Wyświetl plik

@@ -191,7 +191,7 @@ export class ProductService {
/**
* Removes the Product resource.
* Removes the Product resource.
* @param id ProductApi identifier
* @param id Product identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -262,7 +262,7 @@ export class ProductService {
/**
* Retrieves a Product resource.
* Retrieves a Product resource.
* @param id ProductApi identifier
* @param id Product identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -337,7 +337,7 @@ export class ProductService {
/**
* Updates the Product resource.
* Updates the Product resource.
* @param id ProductApi identifier
* @param id Product identifier
* @param product The updated Product resource
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.


+ 2
- 2
matsen-tool/src/app/core/api/v1/api/user.service.ts Wyświetl plik

@@ -186,7 +186,7 @@ export class UserService {
/**
* Retrieves a User resource.
* Retrieves a User resource.
* @param id UserApi identifier
* @param id User identifier
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
@@ -261,7 +261,7 @@ export class UserService {
/**
* Updates the User resource.
* Updates the User resource.
* @param id UserApi identifier
* @param id User identifier
* @param user The updated User resource
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.


+ 2
- 1
matsen-tool/src/app/core/api/v1/model/post.ts Wyświetl plik

@@ -9,6 +9,7 @@
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Comment } from './comment';


/**
@@ -24,7 +25,7 @@ export interface Post {
/**
* array<int, CommentApi>
*/
comments?: Array<string>;
comments?: Array<Comment>;
readonly createdAt?: string | null;
}


+ 2
- 1
matsen-tool/src/app/core/api/v1/model/postJsonhal.ts Wyświetl plik

@@ -10,6 +10,7 @@
* Do not edit the class manually.
*/
import { CommentJsonhalLinks } from './commentJsonhalLinks';
import { CommentJsonhal } from './commentJsonhal';


/**
@@ -26,7 +27,7 @@ export interface PostJsonhal {
/**
* array<int, CommentApi>
*/
comments?: Array<string>;
comments?: Array<CommentJsonhal>;
readonly createdAt?: string | null;
}


+ 2
- 1
matsen-tool/src/app/core/api/v1/model/postJsonld.ts Wyświetl plik

@@ -9,6 +9,7 @@
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { CommentJsonld } from './commentJsonld';
import { CommentJsonldContext } from './commentJsonldContext';


@@ -28,7 +29,7 @@ export interface PostJsonld {
/**
* array<int, CommentApi>
*/
comments?: Array<string>;
comments?: Array<CommentJsonld>;
readonly createdAt?: string | null;
}


Ładowanie…
Anuluj
Zapisz