Empty and blank query parameter examples are parsed to null, while it's expected them to be parsed to a valid empty or blank string respectively.
openapi: 3.0.2
info:
title: Example references
version: 1.0.0
paths:
/foo:
get:
parameters:
- name: paramName
in: query
example: " "
responses:
'200':
description: success
result.getOpenAPI().getPaths().get("/foo").getGet().getParameters().get(0).getExample() returns null while I expect it to return " "
The same is with an empty string.
Empty and blank query parameter examples are parsed to null, while it's expected them to be parsed to a valid empty or blank string respectively.
result.getOpenAPI().getPaths().get("/foo").getGet().getParameters().get(0).getExample()returnsnullwhile I expect it to return" "The same is with an empty string.