Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion doc/compiled.json
Original file line number Diff line number Diff line change
Expand Up @@ -3279,7 +3279,9 @@
"title": "job_template_locale",
"properties": {
"id": {
"type": "string"
"type": "string",
"nullable": true,
"description": "The ID of the job template locale. Will return `null` if the related `job_template` is global."
Comment on lines +3304 to +3306
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: If I'm not mistaken, we need to change the locale_preview schema so it can also just show the fields name and code. That would be in line 1433. But maybe it's better to create a new schema because the field id won't be showing at all.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, I'd vote for a separate schema

},
"job_template": {
"type": "object",
Expand Down
2 changes: 2 additions & 0 deletions schemas/job_template_locale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ job_template_locale:
properties:
id:
type: string
nullable: true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm is this also nullable, this is not a locale id, but the id of the "relationship" resource?

description: The ID of the job template locale. Will return `null` if the related `job_template` is global.
job_template:
"$ref": "./job_template_preview.yaml#/job_template_preview"
locale:
Expand Down
Loading