Open bhaeussermann opened 2 weeks ago
The Accounting OpenAPI specification contains a redundant "type" property. This causes an error when loading the spec using some libraries such as Graeae:
paths: /Accounts: parameters: - $ref: '#/components/parameters/requiredHeader' type: string
The spec must not report any errors in the Swagger Editor. Ideally, it shouldn't show any warnings either.
When entering the Account spec the Swagger Editor reports the error "Object includes not allowed fields" on line 16.
There are also several warnings showing up.
The type property must be removed from the requiredHeaders reference (line 17).
type
The editor reports an error "Object includes not allowed fields" on line 16.
Because of the error in the spec I cannot load it using the Graeae library without making changes to the spec.
PETOSS-671
Thanks for raising an issue, a ticket has been created to track your request
The Accounting OpenAPI specification contains a redundant "type" property. This causes an error when loading the spec using some libraries such as Graeae:
Expected Behavior
The spec must not report any errors in the Swagger Editor. Ideally, it shouldn't show any warnings either.
Current Behavior
When entering the Account spec the Swagger Editor reports the error "Object includes not allowed fields" on line 16.
There are also several warnings showing up.
Possible Solution
The
type
property must be removed from the requiredHeaders reference (line 17).Steps to Reproduce (for bugs)
The editor reports an error "Object includes not allowed fields" on line 16.
Context
Because of the error in the spec I cannot load it using the Graeae library without making changes to the spec.