Project

General

Profile

Actions

Bug #18383

closed

Broken API doc build

Added by Alexis Mousset over 3 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Built build/webapp/openapi.yml
bundling build/webapp/openapi.yml...
[1] build/webapp/components/schemas/node-full.yml:59:109 

Failed to parse: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

57 |   format: date
58 |   example: "2020-02-29T14:48:28Z" 
59 |   description: Date and time of the latest run, if one is available (node time). Up to API v11, format was: "YYYY-MM-dd HH:mm".
60 | lastInventoryDate:
61 |   type: string

Error was generated by the bundler rule.

[2] build/webapp/paths/nodes/all.yml:45:23 at #/get/responses/200/content/application~1json/schema/properties/data/properties/nodes/items

Can't resolve $ref: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

43 |                   type: array
44 |                   items:
45 |                     $ref: ../../components/schemas/node-full.yml
46 | tags:
47 |   - Nodes

Error was generated by the bundler rule.

[3] build/webapp/components/schemas/node-full.yml:59:109 

Failed to parse: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

57 |   format: date
58 |   example: "2020-02-29T14:48:28Z" 
59 |   description: Date and time of the latest run, if one is available (node time). Up to API v11, format was: "YYYY-MM-dd HH:mm".
60 | lastInventoryDate:
61 |   type: string

Error was generated by the bundler rule.

[4] build/webapp/paths/nodes/pending-id.yml:54:23 at #/post/responses/200/content/application~1json/schema/properties/data/properties/nodes/items

Can't resolve $ref: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

52 |                   type: array
53 |                   items:
54 |                     $ref: ../../components/schemas/node-full.yml
55 | tags:
56 |   - Nodes

Error was generated by the bundler rule.

[5] build/webapp/components/schemas/node-full.yml:59:109 

Failed to parse: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

57 |   format: date
58 |   example: "2020-02-29T14:48:28Z" 
59 |   description: Date and time of the latest run, if one is available (node time). Up to API v11, format was: "YYYY-MM-dd HH:mm".
60 | lastInventoryDate:
61 |   type: string

Error was generated by the bundler rule.

[6] build/webapp/paths/nodes/id.yml:42:23 at #/get/responses/200/content/application~1json/schema/properties/data/properties/nodes/items

Can't resolve $ref: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

40 |                   type: array
41 |                   items:
42 |                     $ref: ../../components/schemas/node-full.yml
43 | tags:
44 |   - Nodes

Error was generated by the bundler rule.

[7] build/webapp/components/schemas/node-full.yml:59:109 

Failed to parse: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

57 |   format: date
58 |   example: "2020-02-29T14:48:28Z" 
59 |   description: Date and time of the latest run, if one is available (node time). Up to API v11, format was: "YYYY-MM-dd HH:mm".
60 | lastInventoryDate:
61 |   type: string

Error was generated by the bundler rule.

[8] build/webapp/paths/nodes/id.yml:92:23 at #/post/responses/200/content/application~1json/schema/properties/data/properties/nodes/items

Can't resolve $ref: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

90 |                   type: array
91 |                   items:
92 |                     $ref: ../../components/schemas/node-full.yml
93 | tags:
94 |   - Nodes

Error was generated by the bundler rule.

[9] build/webapp/components/schemas/node-full.yml:59:109 

Failed to parse: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

57 |   format: date
58 |   example: "2020-02-29T14:48:28Z" 
59 |   description: Date and time of the latest run, if one is available (node time). Up to API v11, format was: "YYYY-MM-dd HH:mm".
60 | lastInventoryDate:
61 |   type: string

Error was generated by the bundler rule.

[10] build/webapp/paths/nodes/id.yml:137:23 at #/delete/responses/200/content/application~1json/schema/properties/data/properties/nodes/items

Can't resolve $ref: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line in "/home/amousset/projects/rudder/api-doc/build/webapp/components/schemas/node-full.yml" at line 59, column 109:

135 |                   type: array
136 |                   items:
137 |                     $ref: ../../components/schemas/node-full.yml
138 | tags:
139 |   - Nodes

Error was generated by the bundler rule.

❌ Errors encountered while bundling build/webapp/openapi.yml: bundle not created (use --force to ignore errors).
Could not build target/webapp/12/openapi.yml

Actions #1

Updated by Alexis Mousset over 3 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/3286
Actions #3

Updated by Alexis Mousset over 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Alexis Mousset over 3 years ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Alexis Mousset over 3 years ago

  • Name check changed from To do to Reviewed
Actions #6

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.6 and 6.2.0~beta1 which were released today.

Actions

Also available in: Atom PDF