Repository navigation
[improve][doc] Update swagger for 2.10.2 - #18143
Conversation
|
@Jason918 Please add the following content to your PR description and select a checkbox: |
|
@Anonymitaet Will the swagger files move the |
@urfreespace @tisonkun can you take a look at the following questions? Thank you! Q1.Now the swagger files in pulsar are synced to pulsar-site, can we remove swagger files in pulsar and only keep them in pulsar-site? (Does the REST API doc build process rely on the files in pulsar and must be completed in pulsar?) Q2.We use swagger for generating REST API docs only. Since we use one doc set now (2.10.x for 2.10.0, 2.10.1, 2.10.2, ...), does this mean we just need to generate REST API doc for 2.10.x only instead of generating for 2.10.0, 2.10.1, 2.10.2, ...? If yes, the release process needs to be updated (now release managers generate swagger files for each release), that is, swagger files should be only generated for major releases (2.10.x, 2.11.x, 2.12.x, ...) instead of minor releases (2.10.1, 2.10.2, ...). |
|
@Anonymitaet - We need to generate the swagger docs for each released version of Apache Pulsar. In my opinion, it is not sufficient to generate them frequently based on the current state of We should move the swagger files to the pulsar-site repo because they are generated. Note that we already do this in this part of the website's generated doc files here: https://pulsar.apache.org/api/. |
michaeljmarshall
left a comment
There was a problem hiding this comment.
LGTM. I don't think we should hold up @Jason918's work as release manager, so I am going to merge this PR.
|
@michaeljmarshall agree. You may notice #18014 for a similar proposal. I don't read through the logic about swagger files yet. I'll appreciate it if you can share your knowledge about this sync and build process, especially for the API/generated files. |
Motivation
Update swagger for 2.10.2
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: