Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I hide some old APIs in new verison? #1434

Open
nianxy opened this issue Oct 8, 2023 · 2 comments
Open

Can I hide some old APIs in new verison? #1434

nianxy opened this issue Oct 8, 2023 · 2 comments

Comments

@nianxy
Copy link

nianxy commented Oct 8, 2023

Feature request

I have a new set of APIs in my project with a new api version, and the old APIs are no longer supported.

I want to show only the new APIs when I choose the new version in the generated document, but the old APIs are shown together.

I tried to copy the old API definitions to a separate file, change the original definitions with the new version number and add @apiIgnore to them, but the generated document also shows the old APIs with the old version.

I want to hide the old APIs when I choose the new version, and show the old APIs when I choose the old version, I think the proper way to do this is:

  • copy the old APIs to a separate file
  • change the original definitions of these APIs to the new version and add '@apiIgnore' to the head of the block

I think this means the old APIs should be ignored in the new version.

@nianxy nianxy changed the title Can I show some APIs only in a specific verison? Can I hide some old APIs in new verison? Oct 8, 2023
@nianxy
Copy link
Author

nianxy commented Oct 8, 2023

Maybe this is a bug of '@apiIgnore'?

@NicolasCARPi
Copy link
Collaborator

Hello,

Please take into account that there is nobody available to maintain this library. See #1436.

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

No branches or pull requests

2 participants