Skip to content

Conversation

@rdhabalia
Copy link
Contributor

Motivation

Add admin-api doc for peer-clusters introduced in #903

@rdhabalia rdhabalia added this to the 1.21.0-incubating milestone Nov 23, 2017
@rdhabalia rdhabalia self-assigned this Nov 23, 2017
### REST API docs

The REST API docs are built using a JSON definition generated by Maven's Swagger plugin. This definition is automatically generated when Maven builds Pulsar. In the rare case when you do need to re-generate this JSON definition, run `mvn package` to build all of Pulsar. Then you'll need to copy the new definition into the `site/_data` folder using this command:
The REST API docs are built using a JSON definition generated by Maven's Swagger plugin. This definition is automatically generated when Maven builds Pulsar. In the rare case when you do need to re-generate this JSON definition, run `mvn package -P swagger` to build all of Pulsar. Then you'll need to copy the new definition into the `site/_data` folder using this command:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The admin-rest-api-swagger.json should already be generated automatically during the website build. (I think we should remove from git)

I think the issue is that the website build is not passing the -P swagger. I'll fix it now.

@merlimat merlimat merged commit 84e352f into apache:master Nov 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants