Project

General

Profile

Actions

Bug #16874

closed

Bug #16852: Add openapi 11 version of the API doc

Syntax errors in API doc

Added by Alexis Mousset about 4 years ago. Updated about 4 years ago.

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

Description

Found with swagger online editor.

Semantic error at components.schemas.node-full.properties.software
Schemas with 'type: array', require a sibling 'items: ' field

Structural error at info.version
should be string

Semantic error at paths./changeRequests/{changeRequestId}/accept.delete.requestBody
DELETE operations cannot have a requestBody.

Semantic error at paths./directives/{directiveId}
Declared path parameter "directiveId" needs to be defined within every operation in the path (missing in "post"), or moved to the path-level parameters object

Semantic error at paths./directives/{directiveId}/check
Declared path parameter "directiveId" needs to be defined as a path parameter at either the path or operation level

Semantic error at paths./relay-api/remote-run/nodes/{nodeId}
Declared path parameter "nodeId" needs to be defined as a path parameter at either the path or operation level

Subtasks 1 (0 open1 closed)

Bug #16875: Syntax errors in API doc - 6.0ReleasedFrançois ARMANDActions
Actions #1

Updated by Alexis Mousset about 4 years ago

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

Updated by Alexis Mousset about 4 years ago

  • Assignee changed from Alexis Mousset to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/2811
Actions #3

Updated by Alexis Mousset about 4 years ago

  • Status changed from In progress to Pending release
Actions #4

Updated by Alexis Mousset about 4 years ago

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

Updated by Alexis Mousset about 4 years ago

  • Parent task set to #16852
Actions #6

Updated by Alexis Mousset about 4 years ago

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

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.17 and 6.0.5 which were released today.

Actions

Also available in: Atom PDF