ソースを参照

openapi

master
Florian Eisenmenger 2年前
コミット
3f1ba73a40
11個のファイルの変更58行の追加49行の削除
  1. +1
    -1
      matsen-tool/openapi.json
  2. +39
    -36
      matsen-tool/openapi.yaml
  3. +1
    -1
      matsen-tool/src/app/core/api/v1/model/partner.ts
  4. +1
    -1
      matsen-tool/src/app/core/api/v1/model/partnerJsonhal.ts
  5. +1
    -1
      matsen-tool/src/app/core/api/v1/model/partnerJsonld.ts
  6. +4
    -2
      matsen-tool/src/app/core/api/v1/model/post.ts
  7. +4
    -2
      matsen-tool/src/app/core/api/v1/model/postJsonhal.ts
  8. +4
    -2
      matsen-tool/src/app/core/api/v1/model/postJsonld.ts
  9. +1
    -1
      matsen-tool/src/app/core/api/v1/model/user.ts
  10. +1
    -1
      matsen-tool/src/app/core/api/v1/model/userJsonhal.ts
  11. +1
    -1
      matsen-tool/src/app/core/api/v1/model/userJsonld.ts

+ 1
- 1
matsen-tool/openapi.json
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 39
- 36
matsen-tool/openapi.yaml ファイルの表示

@@ -1139,16 +1139,16 @@ paths:
content:
application/ld+json:
schema:
$ref: '#/components/schemas/Post.jsonld-posting_create'
$ref: '#/components/schemas/Post.jsonld-posting.create'
application/json:
schema:
$ref: '#/components/schemas/Post-posting_create'
$ref: '#/components/schemas/Post-posting.create'
text/html:
schema:
$ref: '#/components/schemas/Post-posting_create'
$ref: '#/components/schemas/Post-posting.create'
application/hal+json:
schema:
$ref: '#/components/schemas/Post.jsonhal-posting_create'
$ref: '#/components/schemas/Post.jsonhal-posting.create'
required: true
deprecated: false
parameters: []
@@ -1263,7 +1263,7 @@ paths:
content:
application/merge-patch+json:
schema:
$ref: '#/components/schemas/Post-posting_patch'
$ref: '#/components/schemas/Post-posting.patch'
required: true
deprecated: false
parameters: []
@@ -2264,6 +2264,7 @@ components:
- string
- 'null'
createdAt:
readOnly: true
type:
- string
- 'null'
@@ -2337,6 +2338,7 @@ components:
- string
- 'null'
createdAt:
readOnly: true
type:
- string
- 'null'
@@ -2424,6 +2426,7 @@ components:
- string
- 'null'
createdAt:
readOnly: true
type:
- string
- 'null'
@@ -2479,17 +2482,17 @@ components:
format: iri-reference
example: 'https://example.com/'
comments:
readOnly: true
description: 'array<int, CommentApi>'
type: array
items:
$ref: '#/components/schemas/Comment'
type: string
createdAt:
readOnly: true
type:
- string
- 'null'
format: date-time
Post-posting_create:
Post-posting.create:
type: object
description: ''
deprecated: false
@@ -2519,7 +2522,7 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
Post-posting_patch:
Post-posting.patch:
type: object
description: ''
deprecated: false
@@ -2588,17 +2591,17 @@ components:
format: iri-reference
example: 'https://example.com/'
comments:
readOnly: true
description: 'array<int, CommentApi>'
type: array
items:
$ref: '#/components/schemas/Comment.jsonhal'
type: string
createdAt:
readOnly: true
type:
- string
- 'null'
format: date-time
Post.jsonhal-posting_create:
Post.jsonhal-posting.create:
type: object
description: ''
deprecated: false
@@ -2704,17 +2707,17 @@ components:
format: iri-reference
example: 'https://example.com/'
comments:
readOnly: true
description: 'array<int, CommentApi>'
type: array
items:
$ref: '#/components/schemas/Comment.jsonld'
type: string
createdAt:
readOnly: true
type:
- string
- 'null'
format: date-time
Post.jsonld-posting_create:
Post.jsonld-posting.create:
type: object
description: ''
deprecated: false
@@ -2890,6 +2893,13 @@ components:
type:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
password:
writeOnly: true
description: 'The plaintext password when being set or changed.'
@@ -2898,13 +2908,6 @@ components:
- 'null'
active:
type: boolean
posts:
readOnly: true
type: array
items:
type: string
format: iri-reference
example: 'https://example.com/'
createdAt:
readOnly: true
type:
@@ -2944,6 +2947,13 @@ components:
type:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
password:
writeOnly: true
description: 'The plaintext password when being set or changed.'
@@ -2952,13 +2962,6 @@ components:
- 'null'
active:
type: boolean
posts:
readOnly: true
type: array
items:
type: string
format: iri-reference
example: 'https://example.com/'
createdAt:
readOnly: true
type:
@@ -3012,6 +3015,13 @@ components:
type:
- string
- 'null'
image:
'owl:maxCardinality': 1
type:
- string
- 'null'
format: iri-reference
example: 'https://example.com/'
password:
writeOnly: true
description: 'The plaintext password when being set or changed.'
@@ -3020,13 +3030,6 @@ components:
- 'null'
active:
type: boolean
posts:
readOnly: true
type: array
items:
type: string
format: iri-reference
example: 'https://example.com/'
createdAt:
readOnly: true
type:


+ 1
- 1
matsen-tool/src/app/core/api/v1/model/partner.ts ファイルの表示

@@ -25,7 +25,7 @@ export interface Partner {
website?: string | null;
logo?: string | null;
readonly logoUrl?: string | null;
createdAt?: string | null;
readonly createdAt?: string | null;
contacts?: Array<string>;
}
export namespace Partner {


+ 1
- 1
matsen-tool/src/app/core/api/v1/model/partnerJsonhal.ts ファイルの表示

@@ -27,7 +27,7 @@ export interface PartnerJsonhal {
website?: string | null;
logo?: string | null;
readonly logoUrl?: string | null;
createdAt?: string | null;
readonly createdAt?: string | null;
contacts?: Array<string>;
}
export namespace PartnerJsonhal {


+ 1
- 1
matsen-tool/src/app/core/api/v1/model/partnerJsonld.ts ファイルの表示

@@ -28,7 +28,7 @@ export interface PartnerJsonld {
website?: string | null;
logo?: string | null;
readonly logoUrl?: string | null;
createdAt?: string | null;
readonly createdAt?: string | null;
contacts?: Array<string>;
}
export namespace PartnerJsonld {


+ 4
- 2
matsen-tool/src/app/core/api/v1/model/post.ts ファイルの表示

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


/**
@@ -22,7 +21,10 @@ export interface Post {
readonly ownerName?: string | null;
partner?: string | null;
contact?: string | null;
comments?: Array<Comment>;
/**
* array<int, CommentApi>
*/
comments?: Array<string>;
readonly createdAt?: string | null;
}


+ 4
- 2
matsen-tool/src/app/core/api/v1/model/postJsonhal.ts ファイルの表示

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


/**
@@ -24,7 +23,10 @@ export interface PostJsonhal {
readonly ownerName?: string | null;
partner?: string | null;
contact?: string | null;
comments?: Array<CommentJsonhal>;
/**
* array<int, CommentApi>
*/
comments?: Array<string>;
readonly createdAt?: string | null;
}


+ 4
- 2
matsen-tool/src/app/core/api/v1/model/postJsonld.ts ファイルの表示

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


@@ -26,7 +25,10 @@ export interface PostJsonld {
readonly ownerName?: string | null;
partner?: string | null;
contact?: string | null;
comments?: Array<CommentJsonld>;
/**
* array<int, CommentApi>
*/
comments?: Array<string>;
readonly createdAt?: string | null;
}


+ 1
- 1
matsen-tool/src/app/core/api/v1/model/user.ts ファイルの表示

@@ -18,12 +18,12 @@ export interface User {
email: string | null;
firstName: string | null;
lastName: string | null;
image?: string | null;
/**
* The plaintext password when being set or changed.
*/
password?: string | null;
active?: boolean;
posts?: Array<string>;
readonly createdAt?: string | null;
}


+ 1
- 1
matsen-tool/src/app/core/api/v1/model/userJsonhal.ts ファイルの表示

@@ -20,12 +20,12 @@ export interface UserJsonhal {
email: string | null;
firstName: string | null;
lastName: string | null;
image?: string | null;
/**
* The plaintext password when being set or changed.
*/
password?: string | null;
active?: boolean;
posts?: Array<string>;
readonly createdAt?: string | null;
}


+ 1
- 1
matsen-tool/src/app/core/api/v1/model/userJsonld.ts ファイルの表示

@@ -22,12 +22,12 @@ export interface UserJsonld {
email: string | null;
firstName: string | null;
lastName: string | null;
image?: string | null;
/**
* The plaintext password when being set or changed.
*/
password?: string | null;
active?: boolean;
posts?: Array<string>;
readonly createdAt?: string | null;
}


読み込み中…
キャンセル
保存