alibaba / alibaba/fastjson2

对springdoc-openapi 1.6.15版本的支持

Open
#1,278 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

### 环境
FASTjSON2 :2.0.26
spring boot : 3.0.4
springdoc-openapi : 1.6.15
JDK :17
在使用fastJson2 作为HttpMessageConverters默认的转换以及序列化工具时。/v3/api-docs 无法正确获取数据,使用jackson一切正常。JAcKSON : https://github.com/springdoc/springdoc-openapi/issues/2143
返回的数据如下图

image

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure at the /v3/api-docs endpoint using Spring Boot 3.0.4, Fastjson2 2.0.26, springdoc-openapi 1.6.15, and JDK 17, then compare it with Jackson serialization. The issue is done when the endpoint returns correct API documentation with Fastjson2 as the default HttpMessageConverter.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.