Skip to content

Commit 9e05095

Browse files
committed
Fix last_state_change_date field name, mark required properties
1 parent d102414 commit 9e05095

File tree

2 files changed

+255
-134
lines changed

2 files changed

+255
-134
lines changed

poggit-api-specification.yml

+32-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ components:
382382
description: Date as unix timestamp
383383
state:
384384
$ref: '#/components/schemas/State'
385-
last_changed_date:
385+
last_state_change_date:
386386
type: integer
387387
description: Date as unix timestamp
388388
categories:
@@ -421,6 +421,37 @@ components:
421421
type: string
422422
state_name:
423423
type: string
424+
required:
425+
- id
426+
- name
427+
- version
428+
- html_url
429+
- tagline
430+
- artifact_url
431+
- downloads
432+
- score
433+
- repo_id
434+
- repo_name
435+
- project_id
436+
- project_name
437+
- build_id
438+
- build_number
439+
- build_commit
440+
- description_url
441+
- icon_url
442+
- is_obsolete
443+
- is_pre_release
444+
- is_outdated
445+
- is_official
446+
- submission_date
447+
- state
448+
- last_state_change_date
449+
- categories
450+
- keywords
451+
- api
452+
- deps
453+
- producers
454+
- state_name
424455
CategoryName:
425456
type: object
426457
properties:

0 commit comments

Comments
 (0)