KaiZen-OpenAPI-Editor icon indicating copy to clipboard operation
KaiZen-OpenAPI-Editor copied to clipboard

Code assist is missing properties named "default"

Open tedepstein opened this issue 6 years ago • 0 comments

Raised in this comment on Eclipse Marketplace.

In OpenAPI 3.0, the following objects have properties named default:

  • Schema Object
  • Server Variable Object
  • Responses Object

Of these three, KaiZen Editor only offers default as a content assist proposal in the context of the Responses Object. Schema Object and Server Variable object should also include default in the proposal list, but they currently do not.

In OpenAPI 2.0, the following objects have default properties:

  • Parameter Object (non-body parameters)
  • Items Object
  • Responses Object
  • Header Object

Again, code assist only suggests default in the context of the Responses Object. It should be present in all of these contexts.

tedepstein avatar Apr 22 '19 16:04 tedepstein