Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Trunk
-
None
-
None
Description
The generated openapi.json shows errors in https://editor.swagger.io/
- "Header parameters named "Authorization" are ignored. Use the `securitySchemes` and `security` sections instead to define authorization."
I guess the openapi generation must be changed, investigating... - "Structural error at paths./....parameters.0 should have either a `schema` or `content` property"
the generated parameters from the service definition do not have a schema entry generated - the same applies to the WWW-Authenticate header in the responses
It also shows warnings
- "Header parameters named "Accept" are ignored. The values for the "Accept" header are defined by `responses.<code>.content.<media-type>`."
This prevents, for example, the automatic client generation from within the editor.
Attachments
Issue Links
- is related to
-
OFBIZ-11328 Add JAX-RS capabilities (Jersey)
- In Progress
- relates to
-
OFBIZ-12344 Additional findings and possible enhancements
- Open
- links to