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

Rest Swagger - support `parameters` applicable for all the operations under `path` #358

hellosnow opened this issue Jun 6, 2016 · 0 comments


Copy link

@hellosnow hellosnow commented Jun 6, 2016

Currently, docfx rest swagger support parameters directly under get, put operation etc. But according Swagger paths schema, paths should support parameters that are applicable for all the operations described under each path.

  "paths": {
    "/test": {
      "parameters": [{
        "$ref": "#/parameters/A"
      "get": {
        "operationId": "B",
        "parameters": [{
          "name": "kind",
          "in": "path",
          "required": true,
          "type": "string"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.