We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
@Operation(summary = "Get chart data", description = "search chart data of target streaming stage and other conditions") public HttpResult<ChartDataVo> getProxyChart(@CurrentService PastaService pastaService, @Parameter( // open api description description = "search conditions", schema = @Schema(name = "chartSearchParam", implementation = ChartSearchParam.class) ) ChartSearchParam chartSearchParam ) throws ApiException { method body... }
when adding schema property, schema not generate correctly I think it's because empty value of schema
schema
To Reproduce Steps to reproduce the behavior:
compile('org.springdoc:springdoc-openapi-ui:1.3.4')
sample code
public class ChartSearchParam { /** * timestamp milliseconds */ @Schema(description = "chart data start at, unix timestamp, milliseconds") private Long startAt; /* @DateTimeFormat(pattern="yyyy-MM-dd'T'HH:mm:ss.SSSz") private ZonedDateTime endAt;*/ /** * timestamp milliseconds */ @Schema(description = "chart data end at, unix timestamp, milliseconds") private Long endAt; /** * what kind of chart data is requested */ @Schema(description = "which streaming stage data is required", implementation = Stage.class) private String chartType = "CLIENT_TO_PROXY"; @Schema(description = "primary key of target stream") private Long streamSeq; }
Expected behavior
chartSearchParam
The text was updated successfully, but these errors were encountered:
5faf9ac
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
when adding schema property, schema not generate correctly


I think it's because empty value of
schema
To Reproduce
Steps to reproduce the behavior:
compile('org.springdoc:springdoc-openapi-ui:1.3.4')
sample code
Expected behavior
chartSearchParam
shows normal and each field has descriptionThe text was updated successfully, but these errors were encountered: