소스 검색

fix api docs

master
Daniel 1 년 전
부모
커밋
62f0d45228
21개의 변경된 파일61개의 추가작업 그리고 110개의 파일을 삭제
  1. +1
    -1
      angular/openapi.json
  2. +24
    -72
      angular/openapi.yaml
  3. +0
    -1
      angular/src/app/core/api/v1/.openapi-generator/FILES
  4. +2
    -2
      angular/src/app/core/api/v1/model/trip.ts
  5. +2
    -2
      angular/src/app/core/api/v1/model/tripJsonld.ts
  6. +1
    -1
      angular/src/app/core/api/v1/model/tripLocation.ts
  7. +1
    -1
      angular/src/app/core/api/v1/model/tripLocationJsonld.ts
  8. +4
    -4
      angular/src/app/core/api/v1/model/user.ts
  9. +4
    -4
      angular/src/app/core/api/v1/model/userJsonld.ts
  10. +2
    -2
      angular/src/app/core/api/v1/model/userTrip.ts
  11. +2
    -2
      angular/src/app/core/api/v1/model/userTripJsonld.ts
  12. +1
    -1
      angular/src/app/core/api/v1/model/userTripLocation.ts
  13. +1
    -1
      angular/src/app/core/api/v1/model/userTripLocationJsonld.ts
  14. +2
    -2
      angular/src/app/core/api/v1/model/userTripWorkLog.ts
  15. +2
    -2
      angular/src/app/core/api/v1/model/userTripWorkLogJsonld.ts
  16. +2
    -2
      httpdocs/src/ApiResource/TripApi.php
  17. +1
    -1
      httpdocs/src/ApiResource/TripLocationApi.php
  18. +4
    -4
      httpdocs/src/ApiResource/UserApi.php
  19. +2
    -2
      httpdocs/src/ApiResource/UserTripApi.php
  20. +1
    -1
      httpdocs/src/ApiResource/UserTripLocationApi.php
  21. +2
    -2
      httpdocs/src/ApiResource/UserTripWorkLogApi.php

+ 1
- 1
angular/openapi.json
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


+ 24
- 72
angular/openapi.yaml 파일 보기

@@ -2199,14 +2199,10 @@ components:
format: iri-reference format: iri-reference
example: 'https://example.com/' example: 'https://example.com/'
startDate: startDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
endDate: endDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2267,14 +2263,10 @@ components:
readOnly: true readOnly: true
$ref: '#/components/schemas/Location.jsonld' $ref: '#/components/schemas/Location.jsonld'
startDate: startDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
endDate: endDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2307,9 +2299,7 @@ components:
format: iri-reference format: iri-reference
example: 'https://example.com/' example: 'https://example.com/'
date: date:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2359,9 +2349,7 @@ components:
readOnly: true readOnly: true
$ref: '#/components/schemas/Location.jsonld' $ref: '#/components/schemas/Location.jsonld'
date: date:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2385,17 +2373,11 @@ components:
format: email format: email
externalDocs: externalDocs:
url: 'https://schema.org/email' url: 'https://schema.org/email'
type:
- string
- 'null'
type: string
firstName: firstName:
type:
- string
- 'null'
type: string
lastName: lastName:
type:
- string
- 'null'
type: string
image: image:
type: type:
- string - string
@@ -2415,9 +2397,7 @@ components:
password: password:
writeOnly: true writeOnly: true
description: 'The plaintext password when being set or changed.' description: 'The plaintext password when being set or changed.'
type:
- string
- 'null'
type: string
active: active:
type: boolean type: boolean
createdAt: createdAt:
@@ -2467,17 +2447,11 @@ components:
format: email format: email
externalDocs: externalDocs:
url: 'https://schema.org/email' url: 'https://schema.org/email'
type:
- string
- 'null'
type: string
firstName: firstName:
type:
- string
- 'null'
type: string
lastName: lastName:
type:
- string
- 'null'
type: string
image: image:
type: type:
- string - string
@@ -2497,9 +2471,7 @@ components:
password: password:
writeOnly: true writeOnly: true
description: 'The plaintext password when being set or changed.' description: 'The plaintext password when being set or changed.'
type:
- string
- 'null'
type: string
active: active:
type: boolean type: boolean
createdAt: createdAt:
@@ -2535,14 +2507,10 @@ components:
captainName: captainName:
type: string type: string
startDate: startDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
endDate: endDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2596,14 +2564,10 @@ components:
captainName: captainName:
type: string type: string
startDate: startDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
endDate: endDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2636,9 +2600,7 @@ components:
format: iri-reference format: iri-reference
example: 'https://example.com/' example: 'https://example.com/'
plannedDate: plannedDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2688,9 +2650,7 @@ components:
readOnly: true readOnly: true
$ref: '#/components/schemas/Location.jsonld' $ref: '#/components/schemas/Location.jsonld'
plannedDate: plannedDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2726,14 +2686,10 @@ components:
format: iri-reference format: iri-reference
example: 'https://example.com/' example: 'https://example.com/'
startDate: startDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
endDate: endDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true
@@ -2787,14 +2743,10 @@ components:
readOnly: true readOnly: true
$ref: '#/components/schemas/Location.jsonld' $ref: '#/components/schemas/Location.jsonld'
startDate: startDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
endDate: endDate:
type:
- string
- 'null'
type: string
format: date-time format: date-time
createdAt: createdAt:
readOnly: true readOnly: true


+ 0
- 1
angular/src/app/core/api/v1/.openapi-generator/FILES 파일 보기

@@ -1,5 +1,4 @@
.gitignore .gitignore
.openapi-generator-ignore
README.md README.md
api.module.ts api.module.ts
api/api.ts api/api.ts


+ 2
- 2
angular/src/app/core/api/v1/model/trip.ts 파일 보기

@@ -21,8 +21,8 @@ export interface Trip {
captainName?: string | null; captainName?: string | null;
readonly startLocation?: string; readonly startLocation?: string;
readonly endLocation?: string; readonly endLocation?: string;
startDate: string | null;
endDate: string | null;
startDate: string;
endDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 2
- 2
angular/src/app/core/api/v1/model/tripJsonld.ts 파일 보기

@@ -27,8 +27,8 @@ export interface TripJsonld {
captainName?: string | null; captainName?: string | null;
readonly startLocation?: LocationJsonld; readonly startLocation?: LocationJsonld;
readonly endLocation?: LocationJsonld; readonly endLocation?: LocationJsonld;
startDate: string | null;
endDate: string | null;
startDate: string;
endDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 1
- 1
angular/src/app/core/api/v1/model/tripLocation.ts 파일 보기

@@ -18,7 +18,7 @@ export interface TripLocation {
readonly dbId?: number | null; readonly dbId?: number | null;
readonly trip?: string; readonly trip?: string;
readonly location?: string; readonly location?: string;
date: string | null;
date: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 1
- 1
angular/src/app/core/api/v1/model/tripLocationJsonld.ts 파일 보기

@@ -24,7 +24,7 @@ export interface TripLocationJsonld {
readonly dbId?: number | null; readonly dbId?: number | null;
readonly trip?: TripJsonld; readonly trip?: TripJsonld;
readonly location?: LocationJsonld; readonly location?: LocationJsonld;
date: string | null;
date: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 4
- 4
angular/src/app/core/api/v1/model/user.ts 파일 보기

@@ -16,16 +16,16 @@
*/ */
export interface User { export interface User {
readonly dbId?: number | null; readonly dbId?: number | null;
email: string | null;
firstName: string | null;
lastName: string | null;
email: string;
firstName: string;
lastName: string;
image?: string | null; image?: string | null;
readonly imageUrl?: string | null; readonly imageUrl?: string | null;
readonly fullName?: string | null; readonly fullName?: string | null;
/** /**
* The plaintext password when being set or changed. * The plaintext password when being set or changed.
*/ */
password?: string | null;
password?: string;
active?: boolean; active?: boolean;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }


+ 4
- 4
angular/src/app/core/api/v1/model/userJsonld.ts 파일 보기

@@ -20,16 +20,16 @@ export interface UserJsonld {
readonly id?: string; readonly id?: string;
readonly type?: string; readonly type?: string;
readonly dbId?: number | null; readonly dbId?: number | null;
email: string | null;
firstName: string | null;
lastName: string | null;
email: string;
firstName: string;
lastName: string;
image?: string | null; image?: string | null;
readonly imageUrl?: string | null; readonly imageUrl?: string | null;
readonly fullName?: string | null; readonly fullName?: string | null;
/** /**
* The plaintext password when being set or changed. * The plaintext password when being set or changed.
*/ */
password?: string | null;
password?: string;
active?: boolean; active?: boolean;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }


+ 2
- 2
angular/src/app/core/api/v1/model/userTrip.ts 파일 보기

@@ -19,8 +19,8 @@ export interface UserTrip {
readonly trip?: string; readonly trip?: string;
readonly user?: string; readonly user?: string;
captainName: string; captainName: string;
startDate: string | null;
endDate: string | null;
startDate: string;
endDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 2
- 2
angular/src/app/core/api/v1/model/userTripJsonld.ts 파일 보기

@@ -25,8 +25,8 @@ export interface UserTripJsonld {
readonly trip?: TripJsonld; readonly trip?: TripJsonld;
readonly user?: UserJsonld; readonly user?: UserJsonld;
captainName: string; captainName: string;
startDate: string | null;
endDate: string | null;
startDate: string;
endDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 1
- 1
angular/src/app/core/api/v1/model/userTripLocation.ts 파일 보기

@@ -18,7 +18,7 @@ export interface UserTripLocation {
readonly dbId?: number | null; readonly dbId?: number | null;
readonly userTrip?: string; readonly userTrip?: string;
readonly location?: string; readonly location?: string;
plannedDate: string | null;
plannedDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 1
- 1
angular/src/app/core/api/v1/model/userTripLocationJsonld.ts 파일 보기

@@ -24,7 +24,7 @@ export interface UserTripLocationJsonld {
readonly dbId?: number | null; readonly dbId?: number | null;
readonly userTrip?: UserTripJsonld; readonly userTrip?: UserTripJsonld;
readonly location?: LocationJsonld; readonly location?: LocationJsonld;
plannedDate: string | null;
plannedDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 2
- 2
angular/src/app/core/api/v1/model/userTripWorkLog.ts 파일 보기

@@ -19,8 +19,8 @@ export interface UserTripWorkLog {
readonly userTrip?: string; readonly userTrip?: string;
readonly startLocation?: string; readonly startLocation?: string;
readonly endLocation?: string; readonly endLocation?: string;
startDate: string | null;
endDate: string | null;
startDate: string;
endDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 2
- 2
angular/src/app/core/api/v1/model/userTripWorkLogJsonld.ts 파일 보기

@@ -25,8 +25,8 @@ export interface UserTripWorkLogJsonld {
readonly userTrip?: UserTripJsonld; readonly userTrip?: UserTripJsonld;
readonly startLocation?: LocationJsonld; readonly startLocation?: LocationJsonld;
readonly endLocation?: LocationJsonld; readonly endLocation?: LocationJsonld;
startDate: string | null;
endDate: string | null;
startDate: string;
endDate: string;
readonly createdAt?: string | null; readonly createdAt?: string | null;
} }



+ 2
- 2
httpdocs/src/ApiResource/TripApi.php 파일 보기

@@ -98,10 +98,10 @@ class TripApi
public ?LocationApi $endLocation = null; public ?LocationApi $endLocation = null;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $startDate = null;
public \DateTimeImmutable $startDate;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $endDate = null;
public \DateTimeImmutable $endDate;


#[ApiProperty(writable: false)] #[ApiProperty(writable: false)]
public ?\DateTimeImmutable $createdAt = null; public ?\DateTimeImmutable $createdAt = null;

+ 1
- 1
httpdocs/src/ApiResource/TripLocationApi.php 파일 보기

@@ -77,7 +77,7 @@ class TripLocationApi
public ?LocationApi $location = null; public ?LocationApi $location = null;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $date = null;
public \DateTimeImmutable $date;


#[ApiProperty(writable: false)] #[ApiProperty(writable: false)]
public ?\DateTimeImmutable $createdAt = null; public ?\DateTimeImmutable $createdAt = null;

+ 4
- 4
httpdocs/src/ApiResource/UserApi.php 파일 보기

@@ -64,13 +64,13 @@ class UserApi


#[Assert\NotBlank] #[Assert\NotBlank]
#[Assert\Email] #[Assert\Email]
public ?string $email = null;
public string $email;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?string $firstName = null;
public string $firstName;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?string $lastName = null;
public string $lastName;


public ?MediaObject $image = null; public ?MediaObject $image = null;


@@ -85,7 +85,7 @@ class UserApi
*/ */
#[ApiProperty(readable: false)] #[ApiProperty(readable: false)]
#[Assert\NotBlank(groups: ['postValidation'])] #[Assert\NotBlank(groups: ['postValidation'])]
public ?string $password = null;
public string $password;


// Object is null ONLY during deserialization: so this allows isPublished // Object is null ONLY during deserialization: so this allows isPublished
// to be writable in ALL cases (which is ok because the operations are secured). // to be writable in ALL cases (which is ok because the operations are secured).


+ 2
- 2
httpdocs/src/ApiResource/UserTripApi.php 파일 보기

@@ -80,10 +80,10 @@ class UserTripApi
public string $captainName; public string $captainName;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $startDate = null;
public \DateTimeImmutable $startDate;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $endDate = null;
public \DateTimeImmutable $endDate;


#[ApiProperty(writable: false)] #[ApiProperty(writable: false)]
public ?\DateTimeImmutable $createdAt = null; public ?\DateTimeImmutable $createdAt = null;

+ 1
- 1
httpdocs/src/ApiResource/UserTripLocationApi.php 파일 보기

@@ -77,7 +77,7 @@ class UserTripLocationApi
public ?LocationApi $location = null; public ?LocationApi $location = null;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $plannedDate = null;
public \DateTimeImmutable $plannedDate;


#[ApiProperty(writable: false)] #[ApiProperty(writable: false)]
public ?\DateTimeImmutable $createdAt = null; public ?\DateTimeImmutable $createdAt = null;

+ 2
- 2
httpdocs/src/ApiResource/UserTripWorkLogApi.php 파일 보기

@@ -93,10 +93,10 @@ class UserTripWorkLogApi
public ?LocationApi $endLocation = null; public ?LocationApi $endLocation = null;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $startDate = null;
public \DateTimeImmutable $startDate;


#[Assert\NotBlank] #[Assert\NotBlank]
public ?\DateTimeImmutable $endDate = null;
public \DateTimeImmutable $endDate;


#[ApiProperty(writable: false)] #[ApiProperty(writable: false)]
public ?\DateTimeImmutable $createdAt = null; public ?\DateTimeImmutable $createdAt = null;

불러오는 중...
취소
저장