Skip to content

change code access level #1743

Closed
Closed
@NaccOll

Description

@NaccOll

Is your feature request related to a problem? Please describe.

I found some issues when I migrated from springfox to springdoc. According to the documentation, I just need to do the equivalent replacement of the annotation and I'll be able to get the migration done, but the fact slaps me.

  1. @ParameterObject must be added when using objects as query parameters.
  2. no solution about using object when submitting form data. Must use multiple property with @RequestPart
  3. no solution about showing field description with @Schema in object when I use object as query param. Must use @paramter with field.

Describe the solution you'd like

I reimplemented MethodParameter and org.springdoc.core.AbstractRequestService to solve the problem mentioned in the first part. However, this method is very troublesome,

Describe alternatives you've considered

the access level of the code causes me to copy a lot of unnecessary code. I hope to change the access level of the code, so that I can accomplish my goal by inheriting and rewriting a few core methods.

Additional context

springfox
repo: https://github.com/NaccOll/springdoc-issue-demo/tree/springfox

springfox

springdoc
repo: https://github.com/NaccOll/springdoc-issue-demo/tree/springdoc

springdoc

springdoc-fix
repo: repo: https://github.com/NaccOll/springdoc-issue-demo/tree/springdoc-fix

springdoc-fix

springdoc-custom
repo: repo: https://github.com/NaccOll/springdoc-issue-demo/tree/springdoc-custom

springdoc-custom

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions