# 获取当前命名空间

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/namespaces/current:
    get:
      summary: 获取当前命名空间
      deprecated: false
      description: ''
      operationId: current
      tags:
        - 命名空间
        - namespace-controller
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: string
          headers: {}
          x-apifox-name: OK
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers: {}
          x-apifox-name: Bad Request
      security:
        - bearer: []
      x-apifox-folder: 命名空间
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/3525375/apis/api-121737354-run
components:
  schemas:
    ErrorResponse:
      required:
        - code
        - msg
      type: object
      properties:
        code:
          type: string
        msg:
          type: string
      x-apifox-orders:
        - code
        - msg
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: http://dev-cn.your-api-server.com
    description: 开发环境
security:
  - bearer: []

```
