Skip to content

Unstable swagger output #18947

Description

@tisonkun

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

After running:

mvn -ntp install -Pcore-modules,swagger,-main -DskipTests -DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true

The swagger files are present in pulsar-broker/target/docs/.

In the site updating logic, we sort and split swagger files.

But it seems that the output is still unstable and cause unnecessary commits:

Solution

Find a way to make the output content stable. Since we already sort on the sync stage, it's about stopping /persistent/{tenant}/{namespace}/{topic}/partitions + PUT endpoint generates undeterminate result.

Alternatives

No response

Anything else?

cc @nodece @merlimat @urfreespace @yuruguo

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    doc-requiredYour PR changes impact docs and you will update later.type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions