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

Filtering path operations by tags #49

Closed
Tetraquark opened this issue Jan 20, 2021 · 1 comment
Closed

Filtering path operations by tags #49

Tetraquark opened this issue Jan 20, 2021 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@Tetraquark
Copy link
Collaborator

Need to implement filtration path operations by tags.

For example I have this path:

  '/api/request':
    get:
      operationId: api_request_get
      description: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
      tags:
        - api
    delete:
      operationId: api_request_delete
      description: ''
      responses:
        '204':
          description: ''
      tags:
        - internal
        - api

And sometimes I need generate api without operations with tag internal. In this example, I don't need delete method in the api class, so I want to filter it by the internal tag

@Tetraquark Tetraquark added the enhancement New feature or request label Jan 20, 2021
@Alex009 Alex009 added duplicate This issue or pull request already exists and removed enhancement New feature or request labels Jan 20, 2021
@Alex009
Copy link
Member

Alex009 commented Jan 20, 2021

duplicate of #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants