You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2019/01/21 10:58:00 UTC
[jira] [Commented] (GERONIMO-6689) OpenAPI default response is not
serialized
[ https://issues.apache.org/jira/browse/GERONIMO-6689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747854#comment-16747854 ]
Dennis Kieselhorst commented on GERONIMO-6689:
----------------------------------------------
[~romain.manni-bucau] thanks for merging but the serialized output is still not as intended.
Current
{code:java}
responses:
'200':
content:
text/plain:
schema:
type: string
description: default response{code}
Should be
{code:java}
responses:
default:
content:
text/plain:
schema:
type: string
description: default response{code}
See [https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#responsesObject]
If user wants 200 or 204 it has to be specified explicitly.
> OpenAPI default response is not serialized
> ------------------------------------------
>
> Key: GERONIMO-6689
> URL: https://issues.apache.org/jira/browse/GERONIMO-6689
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Dennis Kieselhorst
> Priority: Major
> Fix For: OpenAPI_1.0.5
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> defaultValue of APIResponsesImpl should be used for default responses but is currently not serialized
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)