@stoplight/elements-core 9.0.12-beta-0.2 → 9.0.12-beta-0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +14 -74
- package/.storybook/main.js +0 -6
- package/.storybook/manager.js +0 -1
- package/.storybook/preview.jsx +0 -50
- package/dist/LICENSE +0 -190
- package/dist/README.md +0 -1
- package/dist/package.json +0 -64
- package/jest.config.js +0 -10
- package/src/__fixtures__/articles/basic.md +0 -10
- package/src/__fixtures__/articles/kitchen-sink.md +0 -318
- package/src/__fixtures__/articles/long-page-heading.md +0 -955
- package/src/__fixtures__/articles/multiple-try-its.md +0 -54
- package/src/__fixtures__/articles/schema-with-refs.ts +0 -82
- package/src/__fixtures__/http-request.json +0 -11
- package/src/__fixtures__/models/model-with-no-examples.json +0 -15
- package/src/__fixtures__/models/model-with-one-example.json +0 -23
- package/src/__fixtures__/models/model-with-three-examples.json +0 -35
- package/src/__fixtures__/operations/application-octet-stream-post.ts +0 -39
- package/src/__fixtures__/operations/base64-file-upload.ts +0 -43
- package/src/__fixtures__/operations/big-response.ts +0 -4690
- package/src/__fixtures__/operations/bundled-parameter.ts +0 -128
- package/src/__fixtures__/operations/empty-response.ts +0 -15
- package/src/__fixtures__/operations/examples-request-body.ts +0 -135
- package/src/__fixtures__/operations/head-todos.ts +0 -49
- package/src/__fixtures__/operations/invalid-response-example.ts +0 -45
- package/src/__fixtures__/operations/multipart-formdata-post.ts +0 -61
- package/src/__fixtures__/operations/operation-minimal.ts +0 -11
- package/src/__fixtures__/operations/operation-parameters.ts +0 -337
- package/src/__fixtures__/operations/operation-with-examples.ts +0 -113
- package/src/__fixtures__/operations/operation-without-servers.ts +0 -16
- package/src/__fixtures__/operations/patch-todos.ts +0 -49
- package/src/__fixtures__/operations/put-todos.ts +0 -862
- package/src/__fixtures__/operations/referenced-body.ts +0 -62
- package/src/__fixtures__/operations/request-body-empty-schema.ts +0 -35
- package/src/__fixtures__/operations/request-body.ts +0 -62
- package/src/__fixtures__/operations/securedOperation.ts +0 -118
- package/src/__fixtures__/operations/security-basic.ts +0 -24
- package/src/__fixtures__/operations/security-bearer.ts +0 -25
- package/src/__fixtures__/operations/simple-get.ts +0 -17
- package/src/__fixtures__/operations/simple.ts +0 -103
- package/src/__fixtures__/operations/string-numeric-enums.ts +0 -32
- package/src/__fixtures__/operations/urlencoded-post-oneof.ts +0 -81
- package/src/__fixtures__/operations/urlencoded-post.ts +0 -54
- package/src/__fixtures__/operations/vendor-extensions.ts +0 -337
- package/src/__fixtures__/operations/with-url-variables.ts +0 -47
- package/src/__fixtures__/operations/x-code-samples.ts +0 -348
- package/src/__fixtures__/schemas/circular.ts +0 -1906
- package/src/__fixtures__/schemas/contact.json +0 -293
- package/src/__fixtures__/schemas/media-entry.json +0 -69
- package/src/__fixtures__/schemas/simple.json +0 -27
- package/src/__fixtures__/schemas/todo-full.v1.json +0 -35
- package/src/__fixtures__/schemas/todo-partial.v1.json +0 -14
- package/src/__fixtures__/schemas/user.v1.json +0 -17
- package/src/__fixtures__/security-schemes/index.ts +0 -38
- package/src/__fixtures__/services/petstore.ts +0 -167
- package/src/__fixtures__/services/with-unnamed-servers.ts +0 -38
- package/src/__fixtures__/services/with-url-variables.ts +0 -83
- package/src/__fixtures__/services/without-origin.ts +0 -20
- package/src/__fixtures__/table-of-contents/nested.ts +0 -44
- package/src/__fixtures__/table-of-contents/studio-template.ts +0 -100
- package/src/__fixtures__/table-of-contents/studio.ts +0 -559
- package/src/components/Docs/Article/Article.spec.tsx +0 -38
- package/src/components/Docs/Article/Article.stories.tsx +0 -17
- package/src/components/Docs/Article/index.tsx +0 -38
- package/src/components/Docs/Docs.stories.tsx +0 -33
- package/src/components/Docs/Docs.tsx +0 -272
- package/src/components/Docs/HttpOperation/Badges.tsx +0 -49
- package/src/components/Docs/HttpOperation/Body.tsx +0 -115
- package/src/components/Docs/HttpOperation/Callbacks.tsx +0 -89
- package/src/components/Docs/HttpOperation/HttpOperation.spec.tsx +0 -787
- package/src/components/Docs/HttpOperation/HttpOperation.stories.ts +0 -14
- package/src/components/Docs/HttpOperation/HttpOperation.tsx +0 -260
- package/src/components/Docs/HttpOperation/LazySchemaTreePreviewer.tsx +0 -651
- package/src/components/Docs/HttpOperation/Parameters.spec.tsx +0 -101
- package/src/components/Docs/HttpOperation/Parameters.tsx +0 -118
- package/src/components/Docs/HttpOperation/Request.tsx +0 -152
- package/src/components/Docs/HttpOperation/Responses.tsx +0 -301
- package/src/components/Docs/HttpOperation/index.ts +0 -1
- package/src/components/Docs/HttpService/AdditionalInfo.stories.ts +0 -48
- package/src/components/Docs/HttpService/AdditionalInfo.tsx +0 -61
- package/src/components/Docs/HttpService/ExportButton.tsx +0 -35
- package/src/components/Docs/HttpService/HttpService.spec.tsx +0 -429
- package/src/components/Docs/HttpService/HttpService.stories.ts +0 -14
- package/src/components/Docs/HttpService/HttpService.tsx +0 -99
- package/src/components/Docs/HttpService/SecuritySchemes.tsx +0 -82
- package/src/components/Docs/HttpService/ServerInfo.tsx +0 -196
- package/src/components/Docs/HttpService/index.ts +0 -1
- package/src/components/Docs/Model/Model.spec.tsx +0 -241
- package/src/components/Docs/Model/Model.stories.tsx +0 -16
- package/src/components/Docs/Model/Model.tsx +0 -192
- package/src/components/Docs/Model/index.ts +0 -1
- package/src/components/Docs/NodeVendorExtensions.tsx +0 -55
- package/src/components/Docs/Sections.tsx +0 -54
- package/src/components/Docs/Security/PanelContent.tsx +0 -38
- package/src/components/Docs/Security/index.ts +0 -1
- package/src/components/Docs/Skeleton.tsx +0 -12
- package/src/components/Docs/TwoColumnLayout.tsx +0 -27
- package/src/components/Docs/index.ts +0 -1
- package/src/components/Docs/story-helper.ts +0 -46
- package/src/components/Docs/story-renderer-helper.tsx +0 -56
- package/src/components/Layout/MobileTopNav.tsx +0 -78
- package/src/components/Layout/ResponsiveSidebarLayout.tsx +0 -175
- package/src/components/Layout/SidebarLayout.tsx +0 -107
- package/src/components/LinkHeading.tsx +0 -21
- package/src/components/LoadMore.tsx +0 -20
- package/src/components/Loading/Loading.tsx +0 -9
- package/src/components/Logo.tsx +0 -25
- package/src/components/MarkdownViewer/CustomComponents/CodeComponent.spec.ts +0 -90
- package/src/components/MarkdownViewer/CustomComponents/CodeComponent.tsx +0 -164
- package/src/components/MarkdownViewer/CustomComponents/Provider.tsx +0 -20
- package/src/components/MarkdownViewer/CustomComponents/ReactRouterLink.tsx +0 -27
- package/src/components/MarkdownViewer/CustomComponents/ResolvedImage.tsx +0 -86
- package/src/components/MarkdownViewer/CustomComponents/ScrollToHashElement.tsx +0 -96
- package/src/components/MarkdownViewer/MarkdownViewer.spec.tsx +0 -170
- package/src/components/MarkdownViewer/index.tsx +0 -10
- package/src/components/NonIdealState.tsx +0 -20
- package/src/components/PoweredByLink.tsx +0 -30
- package/src/components/RequestSamples/RequestSamples.stories.tsx +0 -67
- package/src/components/RequestSamples/RequestSamples.tsx +0 -246
- package/src/components/RequestSamples/__tests__/RequestSamples.test.tsx +0 -131
- package/src/components/RequestSamples/__tests__/__snapshots__/convertRequestToSample.spec.ts.snap +0 -746
- package/src/components/RequestSamples/__tests__/convertRequestToSample.spec.ts +0 -118
- package/src/components/RequestSamples/convertRequestToSample.ts +0 -56
- package/src/components/RequestSamples/extractCodeSamples.ts +0 -50
- package/src/components/RequestSamples/index.ts +0 -2
- package/src/components/RequestSamples/requestSampleConfigs.ts +0 -182
- package/src/components/ResponseExamples/ResponseExamples.spec.tsx +0 -121
- package/src/components/ResponseExamples/ResponseExamples.stories.tsx +0 -21
- package/src/components/ResponseExamples/ResponseExamples.tsx +0 -79
- package/src/components/TableOfContents/TableOfContents.spec.tsx +0 -301
- package/src/components/TableOfContents/TableOfContents.stories.tsx +0 -121
- package/src/components/TableOfContents/TableOfContents.tsx +0 -406
- package/src/components/TableOfContents/constants.ts +0 -45
- package/src/components/TableOfContents/index.ts +0 -2
- package/src/components/TableOfContents/types.ts +0 -51
- package/src/components/TableOfContents/utils.ts +0 -84
- package/src/components/TryIt/Auth/APIKeyAuth.tsx +0 -19
- package/src/components/TryIt/Auth/Auth.tsx +0 -169
- package/src/components/TryIt/Auth/AuthTokenInput.tsx +0 -37
- package/src/components/TryIt/Auth/BasicAuth.tsx +0 -62
- package/src/components/TryIt/Auth/BearerAuth.tsx +0 -19
- package/src/components/TryIt/Auth/DigestAuth.tsx +0 -35
- package/src/components/TryIt/Auth/OAuth2Auth.tsx +0 -19
- package/src/components/TryIt/Auth/authentication-utils.ts +0 -113
- package/src/components/TryIt/Body/BinaryBody.tsx +0 -52
- package/src/components/TryIt/Body/FormDataBody.tsx +0 -145
- package/src/components/TryIt/Body/RequestBody.tsx +0 -71
- package/src/components/TryIt/Body/__tests__/BinaryBody.test.tsx +0 -29
- package/src/components/TryIt/Body/__tests__/FormDataBody.test.tsx +0 -94
- package/src/components/TryIt/Body/request-body-utils.ts +0 -127
- package/src/components/TryIt/Body/useTextRequestBodyState.ts +0 -27
- package/src/components/TryIt/Mocking/MockingButton.tsx +0 -98
- package/src/components/TryIt/Mocking/mocking-utils.ts +0 -56
- package/src/components/TryIt/Mocking/useMockingOptions.ts +0 -6
- package/src/components/TryIt/Parameters/FileUploadParameterEditors.tsx +0 -62
- package/src/components/TryIt/Parameters/OperationParameters.tsx +0 -39
- package/src/components/TryIt/Parameters/ParameterEditor.tsx +0 -118
- package/src/components/TryIt/Parameters/__tests__/parameter-utils.spec.ts +0 -60
- package/src/components/TryIt/Parameters/parameter-utils.spec.ts +0 -118
- package/src/components/TryIt/Parameters/parameter-utils.ts +0 -179
- package/src/components/TryIt/Parameters/useOperationParameters.ts +0 -60
- package/src/components/TryIt/Response/ReponseCodeViewer.tsx +0 -28
- package/src/components/TryIt/Response/Response.spec.tsx +0 -174
- package/src/components/TryIt/Response/Response.tsx +0 -172
- package/src/components/TryIt/Response/hooks/useLineCount.ts +0 -7
- package/src/components/TryIt/Servers/ServerVariables.tsx +0 -33
- package/src/components/TryIt/Servers/ServersDropdown.tsx +0 -53
- package/src/components/TryIt/Servers/VariableEditor.tsx +0 -51
- package/src/components/TryIt/Servers/useServerVariables.ts +0 -19
- package/src/components/TryIt/TryIt.spec.tsx +0 -1511
- package/src/components/TryIt/TryIt.stories.tsx +0 -77
- package/src/components/TryIt/TryIt.tsx +0 -384
- package/src/components/TryIt/TryItWithRequestSamples.spec.tsx +0 -143
- package/src/components/TryIt/TryItWithRequestSamples.stories.tsx +0 -32
- package/src/components/TryIt/TryItWithRequestSamples.tsx +0 -42
- package/src/components/TryIt/build-request.spec.ts +0 -213
- package/src/components/TryIt/build-request.ts +0 -357
- package/src/components/TryIt/chosenServer.ts +0 -5
- package/src/components/TryIt/index.ts +0 -3
- package/src/components/__tests__/LinkHeading.spec.tsx +0 -125
- package/src/constants.ts +0 -176
- package/src/containers/MockingProvider.tsx +0 -23
- package/src/context/InlineRefResolver.spec.tsx +0 -183
- package/src/context/InlineRefResolver.tsx +0 -94
- package/src/context/Options.tsx +0 -27
- package/src/context/Persistence.tsx +0 -24
- package/src/context/RouterType.tsx +0 -9
- package/src/core.css +0 -97
- package/src/hoc/utils.ts +0 -5
- package/src/hoc/withMosaicProvider.spec.tsx +0 -48
- package/src/hoc/withMosaicProvider.tsx +0 -28
- package/src/hoc/withQueryClientProvider.spec.tsx +0 -38
- package/src/hoc/withQueryClientProvider.tsx +0 -35
- package/src/hoc/withRouter.tsx +0 -71
- package/src/hooks/useBundleRefsIntoDocument.ts +0 -60
- package/src/hooks/useFirstRender.ts +0 -8
- package/src/hooks/useIsCompact.ts +0 -26
- package/src/hooks/useParsedData.ts +0 -99
- package/src/hooks/useParsedValue.ts +0 -19
- package/src/hooks/useResponsiveLayout.tsx +0 -51
- package/src/hooks/useRouter.tsx +0 -31
- package/src/hooks/useUniqueId.ts +0 -4
- package/src/index.ts +0 -48
- package/src/styled.tsx +0 -22
- package/src/styles.css +0 -4
- package/src/types.ts +0 -170
- package/src/utils/__tests__/securitySchemes.spec.ts +0 -137
- package/src/utils/exampleGeneration/exampleGeneration.spec.tsx +0 -18
- package/src/utils/exampleGeneration/exampleGeneration.ts +0 -110
- package/src/utils/fileToBase64.ts +0 -11
- package/src/utils/guards.ts +0 -48
- package/src/utils/headers.ts +0 -316
- package/src/utils/http-spec/IServer.ts +0 -100
- package/src/utils/http-spec/__tests__/IServer.spec.ts +0 -51
- package/src/utils/http-spec/examples.ts +0 -5
- package/src/utils/http.ts +0 -9
- package/src/utils/jotai/persistAtom.ts +0 -31
- package/src/utils/node.ts +0 -19
- package/src/utils/oas/__tests__/security.spec.ts +0 -18
- package/src/utils/oas/security.ts +0 -76
- package/src/utils/ref-resolving/ReferenceResolver.ts +0 -29
- package/src/utils/ref-resolving/resolvedObject.test.ts +0 -415
- package/src/utils/ref-resolving/resolvedObject.ts +0 -109
- package/src/utils/securitySchemes.ts +0 -117
- package/src/utils/string.ts +0 -15
- package/src/utils/tests/chooseOption.ts +0 -7
- package/src/web-components/createElementClass.ts +0 -154
- package/tsconfig.build.json +0 -14
- package/tsconfig.json +0 -7
- /package/{dist/__fixtures__ → __fixtures__}/articles/schema-with-refs.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/application-octet-stream-post.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/base64-file-upload.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/big-response.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/examples-request-body.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/head-todos.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/multipart-formdata-post.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/operation-minimal.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/operation-parameters.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/operation-with-examples.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/operation-without-servers.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/patch-todos.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/put-todos.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/referenced-body.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/request-body-empty-schema.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/request-body.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/securedOperation.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/security-basic.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/security-bearer.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/simple-get.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/string-numeric-enums.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/urlencoded-post-oneof.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/urlencoded-post.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/operations/with-url-variables.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/security-schemes/index.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/services/petstore.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/services/with-unnamed-servers.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/services/with-url-variables.d.ts +0 -0
- /package/{dist/__fixtures__ → __fixtures__}/services/without-origin.d.ts +0 -0
- /package/{dist/components → components}/Docs/Article/Article.spec.d.ts +0 -0
- /package/{dist/components → components}/Docs/Article/Article.stories.d.ts +0 -0
- /package/{dist/components → components}/Docs/Article/index.d.ts +0 -0
- /package/{dist/components → components}/Docs/Docs.d.ts +0 -0
- /package/{dist/components → components}/Docs/Docs.stories.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/Badges.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/Body.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/Callbacks.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/HttpOperation.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/HttpOperation.spec.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/HttpOperation.stories.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/LazySchemaTreePreviewer.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/Parameters.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/Parameters.spec.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/Request.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/Responses.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpOperation/index.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/AdditionalInfo.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/AdditionalInfo.stories.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/ExportButton.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/HttpService.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/HttpService.spec.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/HttpService.stories.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/SecuritySchemes.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/ServerInfo.d.ts +0 -0
- /package/{dist/components → components}/Docs/HttpService/index.d.ts +0 -0
- /package/{dist/components → components}/Docs/Model/Model.d.ts +0 -0
- /package/{dist/components → components}/Docs/Model/Model.spec.d.ts +0 -0
- /package/{dist/components → components}/Docs/Model/Model.stories.d.ts +0 -0
- /package/{dist/components → components}/Docs/Model/index.d.ts +0 -0
- /package/{dist/components → components}/Docs/NodeVendorExtensions.d.ts +0 -0
- /package/{dist/components → components}/Docs/Sections.d.ts +0 -0
- /package/{dist/components → components}/Docs/Security/PanelContent.d.ts +0 -0
- /package/{dist/components → components}/Docs/Security/index.d.ts +0 -0
- /package/{dist/components → components}/Docs/Skeleton.d.ts +0 -0
- /package/{dist/components → components}/Docs/TwoColumnLayout.d.ts +0 -0
- /package/{dist/components → components}/Docs/index.d.ts +0 -0
- /package/{dist/components → components}/Docs/story-helper.d.ts +0 -0
- /package/{dist/components → components}/Docs/story-renderer-helper.d.ts +0 -0
- /package/{dist/components → components}/Layout/MobileTopNav.d.ts +0 -0
- /package/{dist/components → components}/Layout/ResponsiveSidebarLayout.d.ts +0 -0
- /package/{dist/components → components}/Layout/SidebarLayout.d.ts +0 -0
- /package/{dist/components → components}/LinkHeading.d.ts +0 -0
- /package/{dist/components → components}/LoadMore.d.ts +0 -0
- /package/{dist/components → components}/Loading/Loading.d.ts +0 -0
- /package/{dist/components → components}/Logo.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/CustomComponents/CodeComponent.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/CustomComponents/CodeComponent.spec.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/CustomComponents/Provider.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/CustomComponents/ReactRouterLink.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/CustomComponents/ResolvedImage.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/CustomComponents/ScrollToHashElement.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/MarkdownViewer.spec.d.ts +0 -0
- /package/{dist/components → components}/MarkdownViewer/index.d.ts +0 -0
- /package/{dist/components → components}/NonIdealState.d.ts +0 -0
- /package/{dist/components → components}/PoweredByLink.d.ts +0 -0
- /package/{dist/components → components}/RequestSamples/RequestSamples.d.ts +0 -0
- /package/{dist/components → components}/RequestSamples/RequestSamples.stories.d.ts +0 -0
- /package/{dist/components → components}/RequestSamples/convertRequestToSample.d.ts +0 -0
- /package/{dist/components → components}/RequestSamples/extractCodeSamples.d.ts +0 -0
- /package/{dist/components → components}/RequestSamples/index.d.ts +0 -0
- /package/{dist/components → components}/RequestSamples/requestSampleConfigs.d.ts +0 -0
- /package/{dist/components → components}/ResponseExamples/ResponseExamples.d.ts +0 -0
- /package/{dist/components → components}/ResponseExamples/ResponseExamples.spec.d.ts +0 -0
- /package/{dist/components → components}/ResponseExamples/ResponseExamples.stories.d.ts +0 -0
- /package/{dist/components → components}/TableOfContents/TableOfContents.d.ts +0 -0
- /package/{dist/components → components}/TableOfContents/TableOfContents.spec.d.ts +0 -0
- /package/{dist/components → components}/TableOfContents/TableOfContents.stories.d.ts +0 -0
- /package/{dist/components → components}/TableOfContents/constants.d.ts +0 -0
- /package/{dist/components → components}/TableOfContents/index.d.ts +0 -0
- /package/{dist/components → components}/TableOfContents/types.d.ts +0 -0
- /package/{dist/components → components}/TableOfContents/utils.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/APIKeyAuth.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/Auth.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/AuthTokenInput.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/BasicAuth.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/BearerAuth.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/DigestAuth.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/OAuth2Auth.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Auth/authentication-utils.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Body/BinaryBody.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Body/FormDataBody.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Body/RequestBody.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Body/request-body-utils.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Body/useTextRequestBodyState.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Mocking/MockingButton.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Mocking/mocking-utils.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Mocking/useMockingOptions.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Parameters/FileUploadParameterEditors.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Parameters/OperationParameters.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Parameters/ParameterEditor.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Parameters/parameter-utils.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Parameters/parameter-utils.spec.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Parameters/useOperationParameters.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Response/ReponseCodeViewer.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Response/Response.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Response/Response.spec.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Response/hooks/useLineCount.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Servers/ServerVariables.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Servers/ServersDropdown.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Servers/VariableEditor.d.ts +0 -0
- /package/{dist/components → components}/TryIt/Servers/useServerVariables.d.ts +0 -0
- /package/{dist/components → components}/TryIt/TryIt.d.ts +0 -0
- /package/{dist/components → components}/TryIt/TryIt.spec.d.ts +0 -0
- /package/{dist/components → components}/TryIt/TryIt.stories.d.ts +0 -0
- /package/{dist/components → components}/TryIt/TryItWithRequestSamples.d.ts +0 -0
- /package/{dist/components → components}/TryIt/TryItWithRequestSamples.spec.d.ts +0 -0
- /package/{dist/components → components}/TryIt/TryItWithRequestSamples.stories.d.ts +0 -0
- /package/{dist/components → components}/TryIt/build-request.d.ts +0 -0
- /package/{dist/components → components}/TryIt/build-request.spec.d.ts +0 -0
- /package/{dist/components → components}/TryIt/chosenServer.d.ts +0 -0
- /package/{dist/components → components}/TryIt/index.d.ts +0 -0
- /package/{dist/constants.d.ts → constants.d.ts} +0 -0
- /package/{dist/containers → containers}/MockingProvider.d.ts +0 -0
- /package/{dist/context → context}/InlineRefResolver.d.ts +0 -0
- /package/{dist/context → context}/InlineRefResolver.spec.d.ts +0 -0
- /package/{dist/context → context}/Options.d.ts +0 -0
- /package/{dist/context → context}/Persistence.d.ts +0 -0
- /package/{dist/context → context}/RouterType.d.ts +0 -0
- /package/{dist/core.css → core.css} +0 -0
- /package/{dist/hoc → hoc}/utils.d.ts +0 -0
- /package/{dist/hoc → hoc}/withMosaicProvider.d.ts +0 -0
- /package/{dist/hoc → hoc}/withMosaicProvider.spec.d.ts +0 -0
- /package/{dist/hoc → hoc}/withQueryClientProvider.d.ts +0 -0
- /package/{dist/hoc → hoc}/withQueryClientProvider.spec.d.ts +0 -0
- /package/{dist/hoc → hoc}/withRouter.d.ts +0 -0
- /package/{dist/hooks → hooks}/useBundleRefsIntoDocument.d.ts +0 -0
- /package/{dist/hooks → hooks}/useFirstRender.d.ts +0 -0
- /package/{dist/hooks → hooks}/useIsCompact.d.ts +0 -0
- /package/{dist/hooks → hooks}/useParsedData.d.ts +0 -0
- /package/{dist/hooks → hooks}/useParsedValue.d.ts +0 -0
- /package/{dist/hooks → hooks}/useResponsiveLayout.d.ts +0 -0
- /package/{dist/hooks → hooks}/useRouter.d.ts +0 -0
- /package/{dist/hooks → hooks}/useUniqueId.d.ts +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.esm.js → index.esm.js} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/index.mjs → index.mjs} +0 -0
- /package/{dist/styled.d.ts → styled.d.ts} +0 -0
- /package/{dist/styles.min.css → styles.min.css} +0 -0
- /package/{dist/types.d.ts → types.d.ts} +0 -0
- /package/{dist/utils → utils}/exampleGeneration/exampleGeneration.d.ts +0 -0
- /package/{dist/utils → utils}/exampleGeneration/exampleGeneration.spec.d.ts +0 -0
- /package/{dist/utils → utils}/fileToBase64.d.ts +0 -0
- /package/{dist/utils → utils}/guards.d.ts +0 -0
- /package/{dist/utils → utils}/headers.d.ts +0 -0
- /package/{dist/utils → utils}/http-spec/IServer.d.ts +0 -0
- /package/{dist/utils → utils}/http-spec/examples.d.ts +0 -0
- /package/{dist/utils → utils}/http.d.ts +0 -0
- /package/{dist/utils → utils}/jotai/persistAtom.d.ts +0 -0
- /package/{dist/utils → utils}/node.d.ts +0 -0
- /package/{dist/utils → utils}/oas/security.d.ts +0 -0
- /package/{dist/utils → utils}/ref-resolving/ReferenceResolver.d.ts +0 -0
- /package/{dist/utils → utils}/ref-resolving/resolvedObject.d.ts +0 -0
- /package/{dist/utils → utils}/ref-resolving/resolvedObject.test.d.ts +0 -0
- /package/{dist/utils → utils}/securitySchemes.d.ts +0 -0
- /package/{dist/utils → utils}/string.d.ts +0 -0
- /package/{dist/utils → utils}/tests/chooseOption.d.ts +0 -0
- /package/{dist/web-components → web-components}/createElementClass.d.ts +0 -0
|
@@ -1,4690 +0,0 @@
|
|
|
1
|
-
import { IHttpOperation } from '@stoplight/types';
|
|
2
|
-
|
|
3
|
-
export const httpOperation: IHttpOperation = {
|
|
4
|
-
id: '?http-operation-id?',
|
|
5
|
-
iid: 'PATCH_USERS',
|
|
6
|
-
method: 'PATCH',
|
|
7
|
-
path: '/users',
|
|
8
|
-
summary: 'Patch Users',
|
|
9
|
-
responses: [
|
|
10
|
-
{
|
|
11
|
-
id: '?http-response-200?',
|
|
12
|
-
code: '200',
|
|
13
|
-
contents: [
|
|
14
|
-
{
|
|
15
|
-
id: '?http-media-0?',
|
|
16
|
-
mediaType: 'application/json',
|
|
17
|
-
schema: {
|
|
18
|
-
type: 'object',
|
|
19
|
-
properties: {
|
|
20
|
-
iamthefirstprop: {
|
|
21
|
-
allOf: [
|
|
22
|
-
{
|
|
23
|
-
title: 'Todo Partial',
|
|
24
|
-
type: 'object',
|
|
25
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
26
|
-
required: ['name', 'completed'],
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
type: 'object',
|
|
30
|
-
properties: {
|
|
31
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
32
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
33
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
34
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
35
|
-
user: {
|
|
36
|
-
title: 'User',
|
|
37
|
-
type: 'object',
|
|
38
|
-
properties: {
|
|
39
|
-
name: { type: 'string', description: "The user's full name." },
|
|
40
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
41
|
-
},
|
|
42
|
-
required: ['name', 'age'],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
required: ['id', 'user'],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: 'object',
|
|
49
|
-
description: 'A paginated list of projects',
|
|
50
|
-
properties: {
|
|
51
|
-
size: {
|
|
52
|
-
type: 'integer',
|
|
53
|
-
description:
|
|
54
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
55
|
-
minimum: 0,
|
|
56
|
-
},
|
|
57
|
-
page: {
|
|
58
|
-
type: 'integer',
|
|
59
|
-
description:
|
|
60
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
61
|
-
minimum: 1,
|
|
62
|
-
},
|
|
63
|
-
pagelen: {
|
|
64
|
-
type: 'integer',
|
|
65
|
-
description:
|
|
66
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
67
|
-
minimum: 1,
|
|
68
|
-
},
|
|
69
|
-
next: {
|
|
70
|
-
type: 'string',
|
|
71
|
-
description:
|
|
72
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
73
|
-
format: 'uri',
|
|
74
|
-
},
|
|
75
|
-
previous: {
|
|
76
|
-
type: 'string',
|
|
77
|
-
description:
|
|
78
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
79
|
-
format: 'uri',
|
|
80
|
-
},
|
|
81
|
-
values: {
|
|
82
|
-
type: 'array',
|
|
83
|
-
items: {
|
|
84
|
-
allOf: [
|
|
85
|
-
{
|
|
86
|
-
type: 'object',
|
|
87
|
-
description:
|
|
88
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
89
|
-
properties: {
|
|
90
|
-
type: {
|
|
91
|
-
type: 'string',
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
required: ['type'],
|
|
95
|
-
additionalProperties: true,
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
type: 'object',
|
|
99
|
-
description:
|
|
100
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
101
|
-
properties: {
|
|
102
|
-
links: {
|
|
103
|
-
type: 'object',
|
|
104
|
-
properties: {
|
|
105
|
-
html: {
|
|
106
|
-
type: 'object',
|
|
107
|
-
properties: {
|
|
108
|
-
href: {
|
|
109
|
-
type: 'string',
|
|
110
|
-
format: 'uri',
|
|
111
|
-
},
|
|
112
|
-
name: {
|
|
113
|
-
type: 'string',
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
additionalProperties: false,
|
|
117
|
-
},
|
|
118
|
-
avatar: {
|
|
119
|
-
type: 'object',
|
|
120
|
-
properties: {
|
|
121
|
-
href: {
|
|
122
|
-
type: 'string',
|
|
123
|
-
format: 'uri',
|
|
124
|
-
},
|
|
125
|
-
name: {
|
|
126
|
-
type: 'string',
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
additionalProperties: false,
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
additionalProperties: false,
|
|
133
|
-
},
|
|
134
|
-
uuid: {
|
|
135
|
-
type: 'string',
|
|
136
|
-
description: "The project's immutable id.",
|
|
137
|
-
},
|
|
138
|
-
key: {
|
|
139
|
-
type: 'string',
|
|
140
|
-
description: "The project's key.",
|
|
141
|
-
},
|
|
142
|
-
owner: {
|
|
143
|
-
allOf: [
|
|
144
|
-
{
|
|
145
|
-
type: 'object',
|
|
146
|
-
description:
|
|
147
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
148
|
-
properties: {
|
|
149
|
-
type: {
|
|
150
|
-
type: 'string',
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
required: ['type'],
|
|
154
|
-
additionalProperties: true,
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
type: 'object',
|
|
158
|
-
description: 'An account object.',
|
|
159
|
-
properties: {
|
|
160
|
-
links: {
|
|
161
|
-
type: 'object',
|
|
162
|
-
properties: {
|
|
163
|
-
self: {
|
|
164
|
-
type: 'object',
|
|
165
|
-
properties: {
|
|
166
|
-
href: {
|
|
167
|
-
type: 'string',
|
|
168
|
-
format: 'uri',
|
|
169
|
-
},
|
|
170
|
-
name: {
|
|
171
|
-
type: 'string',
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
additionalProperties: false,
|
|
175
|
-
},
|
|
176
|
-
html: {
|
|
177
|
-
type: 'object',
|
|
178
|
-
properties: {
|
|
179
|
-
href: {
|
|
180
|
-
type: 'string',
|
|
181
|
-
format: 'uri',
|
|
182
|
-
},
|
|
183
|
-
name: {
|
|
184
|
-
type: 'string',
|
|
185
|
-
},
|
|
186
|
-
},
|
|
187
|
-
additionalProperties: false,
|
|
188
|
-
},
|
|
189
|
-
avatar: {
|
|
190
|
-
type: 'object',
|
|
191
|
-
properties: {
|
|
192
|
-
href: {
|
|
193
|
-
type: 'string',
|
|
194
|
-
format: 'uri',
|
|
195
|
-
},
|
|
196
|
-
name: {
|
|
197
|
-
type: 'string',
|
|
198
|
-
},
|
|
199
|
-
},
|
|
200
|
-
additionalProperties: false,
|
|
201
|
-
},
|
|
202
|
-
followers: {
|
|
203
|
-
type: 'object',
|
|
204
|
-
properties: {
|
|
205
|
-
href: {
|
|
206
|
-
type: 'string',
|
|
207
|
-
format: 'uri',
|
|
208
|
-
},
|
|
209
|
-
name: {
|
|
210
|
-
type: 'string',
|
|
211
|
-
},
|
|
212
|
-
},
|
|
213
|
-
additionalProperties: false,
|
|
214
|
-
},
|
|
215
|
-
following: {
|
|
216
|
-
type: 'object',
|
|
217
|
-
properties: {
|
|
218
|
-
href: {
|
|
219
|
-
type: 'string',
|
|
220
|
-
format: 'uri',
|
|
221
|
-
},
|
|
222
|
-
name: {
|
|
223
|
-
type: 'string',
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
additionalProperties: false,
|
|
227
|
-
},
|
|
228
|
-
repositories: {
|
|
229
|
-
type: 'object',
|
|
230
|
-
properties: {
|
|
231
|
-
href: {
|
|
232
|
-
type: 'string',
|
|
233
|
-
format: 'uri',
|
|
234
|
-
},
|
|
235
|
-
name: {
|
|
236
|
-
type: 'string',
|
|
237
|
-
},
|
|
238
|
-
},
|
|
239
|
-
additionalProperties: false,
|
|
240
|
-
},
|
|
241
|
-
},
|
|
242
|
-
additionalProperties: false,
|
|
243
|
-
},
|
|
244
|
-
username: {
|
|
245
|
-
type: 'string',
|
|
246
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
247
|
-
},
|
|
248
|
-
nickname: {
|
|
249
|
-
type: 'string',
|
|
250
|
-
description:
|
|
251
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
252
|
-
},
|
|
253
|
-
account_status: {
|
|
254
|
-
type: 'string',
|
|
255
|
-
description:
|
|
256
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
257
|
-
},
|
|
258
|
-
display_name: {
|
|
259
|
-
type: 'string',
|
|
260
|
-
},
|
|
261
|
-
website: {
|
|
262
|
-
type: 'string',
|
|
263
|
-
},
|
|
264
|
-
created_on: {
|
|
265
|
-
type: 'string',
|
|
266
|
-
format: 'date-time',
|
|
267
|
-
},
|
|
268
|
-
uuid: {
|
|
269
|
-
type: 'string',
|
|
270
|
-
},
|
|
271
|
-
has_2fa_enabled: {
|
|
272
|
-
type: 'boolean',
|
|
273
|
-
},
|
|
274
|
-
},
|
|
275
|
-
additionalProperties: true,
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
type: 'object',
|
|
279
|
-
description: 'A team object.',
|
|
280
|
-
properties: {},
|
|
281
|
-
additionalProperties: true,
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
},
|
|
285
|
-
name: {
|
|
286
|
-
type: 'string',
|
|
287
|
-
description: 'The name of the project.',
|
|
288
|
-
},
|
|
289
|
-
description: {
|
|
290
|
-
type: 'string',
|
|
291
|
-
},
|
|
292
|
-
is_private: {
|
|
293
|
-
type: 'boolean',
|
|
294
|
-
description:
|
|
295
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
296
|
-
},
|
|
297
|
-
created_on: {
|
|
298
|
-
type: 'string',
|
|
299
|
-
format: 'date-time',
|
|
300
|
-
},
|
|
301
|
-
updated_on: {
|
|
302
|
-
type: 'string',
|
|
303
|
-
format: 'date-time',
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
additionalProperties: true,
|
|
307
|
-
},
|
|
308
|
-
],
|
|
309
|
-
},
|
|
310
|
-
minItems: 0,
|
|
311
|
-
uniqueItems: true,
|
|
312
|
-
},
|
|
313
|
-
},
|
|
314
|
-
additionalProperties: false,
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
title: 'asdf',
|
|
318
|
-
type: 'object',
|
|
319
|
-
properties: {
|
|
320
|
-
id: {
|
|
321
|
-
allOf: [
|
|
322
|
-
{
|
|
323
|
-
title: 'Todo Partial',
|
|
324
|
-
type: 'object',
|
|
325
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
326
|
-
required: ['name', 'completed'],
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
type: 'object',
|
|
330
|
-
properties: {
|
|
331
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
332
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
333
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
334
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
335
|
-
user: {
|
|
336
|
-
title: 'User',
|
|
337
|
-
type: 'object',
|
|
338
|
-
properties: {
|
|
339
|
-
name: { type: 'string', description: "The user's full name." },
|
|
340
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
341
|
-
},
|
|
342
|
-
required: ['name', 'age'],
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
required: ['id', 'user'],
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
type: 'object',
|
|
349
|
-
description: 'A paginated list of projects',
|
|
350
|
-
properties: {
|
|
351
|
-
size: {
|
|
352
|
-
type: 'integer',
|
|
353
|
-
description:
|
|
354
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
355
|
-
minimum: 0,
|
|
356
|
-
},
|
|
357
|
-
page: {
|
|
358
|
-
type: 'integer',
|
|
359
|
-
description:
|
|
360
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
361
|
-
minimum: 1,
|
|
362
|
-
},
|
|
363
|
-
pagelen: {
|
|
364
|
-
type: 'integer',
|
|
365
|
-
description:
|
|
366
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
367
|
-
minimum: 1,
|
|
368
|
-
},
|
|
369
|
-
next: {
|
|
370
|
-
type: 'string',
|
|
371
|
-
description:
|
|
372
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
373
|
-
format: 'uri',
|
|
374
|
-
},
|
|
375
|
-
previous: {
|
|
376
|
-
type: 'string',
|
|
377
|
-
description:
|
|
378
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
379
|
-
format: 'uri',
|
|
380
|
-
},
|
|
381
|
-
values: {
|
|
382
|
-
type: 'array',
|
|
383
|
-
items: {
|
|
384
|
-
allOf: [
|
|
385
|
-
{
|
|
386
|
-
type: 'object',
|
|
387
|
-
description:
|
|
388
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
389
|
-
properties: {
|
|
390
|
-
type: {
|
|
391
|
-
type: 'string',
|
|
392
|
-
},
|
|
393
|
-
},
|
|
394
|
-
required: ['type'],
|
|
395
|
-
additionalProperties: true,
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
type: 'object',
|
|
399
|
-
description:
|
|
400
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
401
|
-
properties: {
|
|
402
|
-
links: {
|
|
403
|
-
type: 'object',
|
|
404
|
-
properties: {
|
|
405
|
-
html: {
|
|
406
|
-
type: 'object',
|
|
407
|
-
properties: {
|
|
408
|
-
href: {
|
|
409
|
-
type: 'string',
|
|
410
|
-
format: 'uri',
|
|
411
|
-
},
|
|
412
|
-
name: {
|
|
413
|
-
type: 'string',
|
|
414
|
-
},
|
|
415
|
-
},
|
|
416
|
-
additionalProperties: false,
|
|
417
|
-
},
|
|
418
|
-
avatar: {
|
|
419
|
-
type: 'object',
|
|
420
|
-
properties: {
|
|
421
|
-
href: {
|
|
422
|
-
type: 'string',
|
|
423
|
-
format: 'uri',
|
|
424
|
-
},
|
|
425
|
-
name: {
|
|
426
|
-
type: 'string',
|
|
427
|
-
},
|
|
428
|
-
},
|
|
429
|
-
additionalProperties: false,
|
|
430
|
-
},
|
|
431
|
-
},
|
|
432
|
-
additionalProperties: false,
|
|
433
|
-
},
|
|
434
|
-
uuid: {
|
|
435
|
-
type: 'string',
|
|
436
|
-
description: "The project's immutable id.",
|
|
437
|
-
},
|
|
438
|
-
key: {
|
|
439
|
-
type: 'string',
|
|
440
|
-
description: "The project's key.",
|
|
441
|
-
},
|
|
442
|
-
owner: {
|
|
443
|
-
allOf: [
|
|
444
|
-
{
|
|
445
|
-
type: 'object',
|
|
446
|
-
description:
|
|
447
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
448
|
-
properties: {
|
|
449
|
-
type: {
|
|
450
|
-
type: 'string',
|
|
451
|
-
},
|
|
452
|
-
},
|
|
453
|
-
required: ['type'],
|
|
454
|
-
additionalProperties: true,
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
type: 'object',
|
|
458
|
-
description: 'An account object.',
|
|
459
|
-
properties: {
|
|
460
|
-
links: {
|
|
461
|
-
type: 'object',
|
|
462
|
-
properties: {
|
|
463
|
-
self: {
|
|
464
|
-
type: 'object',
|
|
465
|
-
properties: {
|
|
466
|
-
href: {
|
|
467
|
-
type: 'string',
|
|
468
|
-
format: 'uri',
|
|
469
|
-
},
|
|
470
|
-
name: {
|
|
471
|
-
type: 'string',
|
|
472
|
-
},
|
|
473
|
-
},
|
|
474
|
-
additionalProperties: false,
|
|
475
|
-
},
|
|
476
|
-
html: {
|
|
477
|
-
type: 'object',
|
|
478
|
-
properties: {
|
|
479
|
-
href: {
|
|
480
|
-
type: 'string',
|
|
481
|
-
format: 'uri',
|
|
482
|
-
},
|
|
483
|
-
name: {
|
|
484
|
-
type: 'string',
|
|
485
|
-
},
|
|
486
|
-
},
|
|
487
|
-
additionalProperties: false,
|
|
488
|
-
},
|
|
489
|
-
avatar: {
|
|
490
|
-
type: 'object',
|
|
491
|
-
properties: {
|
|
492
|
-
href: {
|
|
493
|
-
type: 'string',
|
|
494
|
-
format: 'uri',
|
|
495
|
-
},
|
|
496
|
-
name: {
|
|
497
|
-
type: 'string',
|
|
498
|
-
},
|
|
499
|
-
},
|
|
500
|
-
additionalProperties: false,
|
|
501
|
-
},
|
|
502
|
-
followers: {
|
|
503
|
-
type: 'object',
|
|
504
|
-
properties: {
|
|
505
|
-
href: {
|
|
506
|
-
type: 'string',
|
|
507
|
-
format: 'uri',
|
|
508
|
-
},
|
|
509
|
-
name: {
|
|
510
|
-
type: 'string',
|
|
511
|
-
},
|
|
512
|
-
},
|
|
513
|
-
additionalProperties: false,
|
|
514
|
-
},
|
|
515
|
-
following: {
|
|
516
|
-
type: 'object',
|
|
517
|
-
properties: {
|
|
518
|
-
href: {
|
|
519
|
-
type: 'string',
|
|
520
|
-
format: 'uri',
|
|
521
|
-
},
|
|
522
|
-
name: {
|
|
523
|
-
type: 'string',
|
|
524
|
-
},
|
|
525
|
-
},
|
|
526
|
-
additionalProperties: false,
|
|
527
|
-
},
|
|
528
|
-
repositories: {
|
|
529
|
-
type: 'object',
|
|
530
|
-
properties: {
|
|
531
|
-
href: {
|
|
532
|
-
type: 'string',
|
|
533
|
-
format: 'uri',
|
|
534
|
-
},
|
|
535
|
-
name: {
|
|
536
|
-
type: 'string',
|
|
537
|
-
},
|
|
538
|
-
},
|
|
539
|
-
additionalProperties: false,
|
|
540
|
-
},
|
|
541
|
-
},
|
|
542
|
-
additionalProperties: false,
|
|
543
|
-
},
|
|
544
|
-
username: {
|
|
545
|
-
type: 'string',
|
|
546
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
547
|
-
},
|
|
548
|
-
nickname: {
|
|
549
|
-
type: 'string',
|
|
550
|
-
description:
|
|
551
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
552
|
-
},
|
|
553
|
-
account_status: {
|
|
554
|
-
type: 'string',
|
|
555
|
-
description:
|
|
556
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
557
|
-
},
|
|
558
|
-
display_name: {
|
|
559
|
-
type: 'string',
|
|
560
|
-
},
|
|
561
|
-
website: {
|
|
562
|
-
type: 'string',
|
|
563
|
-
},
|
|
564
|
-
created_on: {
|
|
565
|
-
type: 'string',
|
|
566
|
-
format: 'date-time',
|
|
567
|
-
},
|
|
568
|
-
uuid: {
|
|
569
|
-
type: 'string',
|
|
570
|
-
},
|
|
571
|
-
has_2fa_enabled: {
|
|
572
|
-
type: 'boolean',
|
|
573
|
-
},
|
|
574
|
-
},
|
|
575
|
-
additionalProperties: true,
|
|
576
|
-
},
|
|
577
|
-
{
|
|
578
|
-
type: 'object',
|
|
579
|
-
description: 'A team object.',
|
|
580
|
-
properties: {},
|
|
581
|
-
additionalProperties: true,
|
|
582
|
-
},
|
|
583
|
-
],
|
|
584
|
-
},
|
|
585
|
-
name: {
|
|
586
|
-
type: 'string',
|
|
587
|
-
description: 'The name of the project.',
|
|
588
|
-
},
|
|
589
|
-
description: {
|
|
590
|
-
type: 'string',
|
|
591
|
-
},
|
|
592
|
-
is_private: {
|
|
593
|
-
type: 'boolean',
|
|
594
|
-
description:
|
|
595
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
596
|
-
},
|
|
597
|
-
created_on: {
|
|
598
|
-
type: 'string',
|
|
599
|
-
format: 'date-time',
|
|
600
|
-
},
|
|
601
|
-
updated_on: {
|
|
602
|
-
type: 'string',
|
|
603
|
-
format: 'date-time',
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
additionalProperties: true,
|
|
607
|
-
},
|
|
608
|
-
],
|
|
609
|
-
},
|
|
610
|
-
minItems: 0,
|
|
611
|
-
uniqueItems: true,
|
|
612
|
-
},
|
|
613
|
-
},
|
|
614
|
-
additionalProperties: false,
|
|
615
|
-
},
|
|
616
|
-
],
|
|
617
|
-
type: 'object',
|
|
618
|
-
},
|
|
619
|
-
lksdfg: {
|
|
620
|
-
type: 'object',
|
|
621
|
-
properties: {
|
|
622
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
623
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
624
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
625
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
626
|
-
user: {
|
|
627
|
-
title: 'User',
|
|
628
|
-
type: 'object',
|
|
629
|
-
properties: {
|
|
630
|
-
name: { type: 'string', description: "The user's full name." },
|
|
631
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
632
|
-
},
|
|
633
|
-
required: ['name', 'age'],
|
|
634
|
-
},
|
|
635
|
-
},
|
|
636
|
-
required: ['id', 'user'],
|
|
637
|
-
},
|
|
638
|
-
qosf: {
|
|
639
|
-
allOf: [
|
|
640
|
-
{
|
|
641
|
-
title: 'Todo Partial',
|
|
642
|
-
type: 'object',
|
|
643
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
644
|
-
required: ['name', 'completed'],
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
type: 'object',
|
|
648
|
-
properties: {
|
|
649
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
650
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
651
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
652
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
653
|
-
user: {
|
|
654
|
-
title: 'User',
|
|
655
|
-
type: 'object',
|
|
656
|
-
properties: {
|
|
657
|
-
name: { type: 'string', description: "The user's full name." },
|
|
658
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
659
|
-
},
|
|
660
|
-
required: ['name', 'age'],
|
|
661
|
-
},
|
|
662
|
-
},
|
|
663
|
-
required: ['id', 'user'],
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
type: 'object',
|
|
667
|
-
description: 'A paginated list of projects',
|
|
668
|
-
properties: {
|
|
669
|
-
size: {
|
|
670
|
-
type: 'integer',
|
|
671
|
-
description:
|
|
672
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
673
|
-
minimum: 0,
|
|
674
|
-
},
|
|
675
|
-
page: {
|
|
676
|
-
type: 'integer',
|
|
677
|
-
description:
|
|
678
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
679
|
-
minimum: 1,
|
|
680
|
-
},
|
|
681
|
-
pagelen: {
|
|
682
|
-
type: 'integer',
|
|
683
|
-
description:
|
|
684
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
685
|
-
minimum: 1,
|
|
686
|
-
},
|
|
687
|
-
next: {
|
|
688
|
-
type: 'string',
|
|
689
|
-
description:
|
|
690
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
691
|
-
format: 'uri',
|
|
692
|
-
},
|
|
693
|
-
previous: {
|
|
694
|
-
type: 'string',
|
|
695
|
-
description:
|
|
696
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
697
|
-
format: 'uri',
|
|
698
|
-
},
|
|
699
|
-
values: {
|
|
700
|
-
type: 'array',
|
|
701
|
-
items: {
|
|
702
|
-
allOf: [
|
|
703
|
-
{
|
|
704
|
-
type: 'object',
|
|
705
|
-
description:
|
|
706
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
707
|
-
properties: {
|
|
708
|
-
type: {
|
|
709
|
-
type: 'string',
|
|
710
|
-
},
|
|
711
|
-
},
|
|
712
|
-
required: ['type'],
|
|
713
|
-
additionalProperties: true,
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
type: 'object',
|
|
717
|
-
description:
|
|
718
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
719
|
-
properties: {
|
|
720
|
-
links: {
|
|
721
|
-
type: 'object',
|
|
722
|
-
properties: {
|
|
723
|
-
html: {
|
|
724
|
-
type: 'object',
|
|
725
|
-
properties: {
|
|
726
|
-
href: {
|
|
727
|
-
type: 'string',
|
|
728
|
-
format: 'uri',
|
|
729
|
-
},
|
|
730
|
-
name: {
|
|
731
|
-
type: 'string',
|
|
732
|
-
},
|
|
733
|
-
},
|
|
734
|
-
additionalProperties: false,
|
|
735
|
-
},
|
|
736
|
-
avatar: {
|
|
737
|
-
type: 'object',
|
|
738
|
-
properties: {
|
|
739
|
-
href: {
|
|
740
|
-
type: 'string',
|
|
741
|
-
format: 'uri',
|
|
742
|
-
},
|
|
743
|
-
name: {
|
|
744
|
-
type: 'string',
|
|
745
|
-
},
|
|
746
|
-
},
|
|
747
|
-
additionalProperties: false,
|
|
748
|
-
},
|
|
749
|
-
},
|
|
750
|
-
additionalProperties: false,
|
|
751
|
-
},
|
|
752
|
-
uuid: {
|
|
753
|
-
type: 'string',
|
|
754
|
-
description: "The project's immutable id.",
|
|
755
|
-
},
|
|
756
|
-
key: {
|
|
757
|
-
type: 'string',
|
|
758
|
-
description: "The project's key.",
|
|
759
|
-
},
|
|
760
|
-
owner: {
|
|
761
|
-
allOf: [
|
|
762
|
-
{
|
|
763
|
-
type: 'object',
|
|
764
|
-
description:
|
|
765
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
766
|
-
properties: {
|
|
767
|
-
type: {
|
|
768
|
-
type: 'string',
|
|
769
|
-
},
|
|
770
|
-
},
|
|
771
|
-
required: ['type'],
|
|
772
|
-
additionalProperties: true,
|
|
773
|
-
},
|
|
774
|
-
{
|
|
775
|
-
type: 'object',
|
|
776
|
-
description: 'An account object.',
|
|
777
|
-
properties: {
|
|
778
|
-
links: {
|
|
779
|
-
type: 'object',
|
|
780
|
-
properties: {
|
|
781
|
-
self: {
|
|
782
|
-
type: 'object',
|
|
783
|
-
properties: {
|
|
784
|
-
href: {
|
|
785
|
-
type: 'string',
|
|
786
|
-
format: 'uri',
|
|
787
|
-
},
|
|
788
|
-
name: {
|
|
789
|
-
type: 'string',
|
|
790
|
-
},
|
|
791
|
-
},
|
|
792
|
-
additionalProperties: false,
|
|
793
|
-
},
|
|
794
|
-
html: {
|
|
795
|
-
type: 'object',
|
|
796
|
-
properties: {
|
|
797
|
-
href: {
|
|
798
|
-
type: 'string',
|
|
799
|
-
format: 'uri',
|
|
800
|
-
},
|
|
801
|
-
name: {
|
|
802
|
-
type: 'string',
|
|
803
|
-
},
|
|
804
|
-
},
|
|
805
|
-
additionalProperties: false,
|
|
806
|
-
},
|
|
807
|
-
avatar: {
|
|
808
|
-
type: 'object',
|
|
809
|
-
properties: {
|
|
810
|
-
href: {
|
|
811
|
-
type: 'string',
|
|
812
|
-
format: 'uri',
|
|
813
|
-
},
|
|
814
|
-
name: {
|
|
815
|
-
type: 'string',
|
|
816
|
-
},
|
|
817
|
-
},
|
|
818
|
-
additionalProperties: false,
|
|
819
|
-
},
|
|
820
|
-
followers: {
|
|
821
|
-
type: 'object',
|
|
822
|
-
properties: {
|
|
823
|
-
href: {
|
|
824
|
-
type: 'string',
|
|
825
|
-
format: 'uri',
|
|
826
|
-
},
|
|
827
|
-
name: {
|
|
828
|
-
type: 'string',
|
|
829
|
-
},
|
|
830
|
-
},
|
|
831
|
-
additionalProperties: false,
|
|
832
|
-
},
|
|
833
|
-
following: {
|
|
834
|
-
type: 'object',
|
|
835
|
-
properties: {
|
|
836
|
-
href: {
|
|
837
|
-
type: 'string',
|
|
838
|
-
format: 'uri',
|
|
839
|
-
},
|
|
840
|
-
name: {
|
|
841
|
-
type: 'string',
|
|
842
|
-
},
|
|
843
|
-
},
|
|
844
|
-
additionalProperties: false,
|
|
845
|
-
},
|
|
846
|
-
repositories: {
|
|
847
|
-
type: 'object',
|
|
848
|
-
properties: {
|
|
849
|
-
href: {
|
|
850
|
-
type: 'string',
|
|
851
|
-
format: 'uri',
|
|
852
|
-
},
|
|
853
|
-
name: {
|
|
854
|
-
type: 'string',
|
|
855
|
-
},
|
|
856
|
-
},
|
|
857
|
-
additionalProperties: false,
|
|
858
|
-
},
|
|
859
|
-
},
|
|
860
|
-
additionalProperties: false,
|
|
861
|
-
},
|
|
862
|
-
username: {
|
|
863
|
-
type: 'string',
|
|
864
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
865
|
-
},
|
|
866
|
-
nickname: {
|
|
867
|
-
type: 'string',
|
|
868
|
-
description:
|
|
869
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
870
|
-
},
|
|
871
|
-
account_status: {
|
|
872
|
-
type: 'string',
|
|
873
|
-
description:
|
|
874
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
875
|
-
},
|
|
876
|
-
display_name: {
|
|
877
|
-
type: 'string',
|
|
878
|
-
},
|
|
879
|
-
website: {
|
|
880
|
-
type: 'string',
|
|
881
|
-
},
|
|
882
|
-
created_on: {
|
|
883
|
-
type: 'string',
|
|
884
|
-
format: 'date-time',
|
|
885
|
-
},
|
|
886
|
-
uuid: {
|
|
887
|
-
type: 'string',
|
|
888
|
-
},
|
|
889
|
-
has_2fa_enabled: {
|
|
890
|
-
type: 'boolean',
|
|
891
|
-
},
|
|
892
|
-
},
|
|
893
|
-
additionalProperties: true,
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
type: 'object',
|
|
897
|
-
description: 'A team object.',
|
|
898
|
-
properties: {},
|
|
899
|
-
additionalProperties: true,
|
|
900
|
-
},
|
|
901
|
-
],
|
|
902
|
-
},
|
|
903
|
-
name: {
|
|
904
|
-
type: 'string',
|
|
905
|
-
description: 'The name of the project.',
|
|
906
|
-
},
|
|
907
|
-
description: {
|
|
908
|
-
type: 'string',
|
|
909
|
-
},
|
|
910
|
-
is_private: {
|
|
911
|
-
type: 'boolean',
|
|
912
|
-
description:
|
|
913
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
914
|
-
},
|
|
915
|
-
created_on: {
|
|
916
|
-
type: 'string',
|
|
917
|
-
format: 'date-time',
|
|
918
|
-
},
|
|
919
|
-
updated_on: {
|
|
920
|
-
type: 'string',
|
|
921
|
-
format: 'date-time',
|
|
922
|
-
},
|
|
923
|
-
},
|
|
924
|
-
additionalProperties: true,
|
|
925
|
-
},
|
|
926
|
-
],
|
|
927
|
-
},
|
|
928
|
-
minItems: 0,
|
|
929
|
-
uniqueItems: true,
|
|
930
|
-
},
|
|
931
|
-
},
|
|
932
|
-
additionalProperties: false,
|
|
933
|
-
},
|
|
934
|
-
],
|
|
935
|
-
type: 'object',
|
|
936
|
-
},
|
|
937
|
-
dsfg: {
|
|
938
|
-
allOf: [
|
|
939
|
-
{
|
|
940
|
-
allOf: [
|
|
941
|
-
{
|
|
942
|
-
title: 'Todo Partial',
|
|
943
|
-
type: 'object',
|
|
944
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
945
|
-
required: ['name', 'completed'],
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
type: 'object',
|
|
949
|
-
properties: {
|
|
950
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
951
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
952
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
953
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
954
|
-
user: {
|
|
955
|
-
title: 'User',
|
|
956
|
-
type: 'object',
|
|
957
|
-
properties: {
|
|
958
|
-
name: { type: 'string', description: "The user's full name." },
|
|
959
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
960
|
-
},
|
|
961
|
-
required: ['name', 'age'],
|
|
962
|
-
},
|
|
963
|
-
},
|
|
964
|
-
required: ['id', 'user'],
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
type: 'object',
|
|
968
|
-
description: 'A paginated list of projects',
|
|
969
|
-
properties: {
|
|
970
|
-
size: {
|
|
971
|
-
type: 'integer',
|
|
972
|
-
description:
|
|
973
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
974
|
-
minimum: 0,
|
|
975
|
-
},
|
|
976
|
-
page: {
|
|
977
|
-
type: 'integer',
|
|
978
|
-
description:
|
|
979
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
980
|
-
minimum: 1,
|
|
981
|
-
},
|
|
982
|
-
pagelen: {
|
|
983
|
-
type: 'integer',
|
|
984
|
-
description:
|
|
985
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
986
|
-
minimum: 1,
|
|
987
|
-
},
|
|
988
|
-
next: {
|
|
989
|
-
type: 'string',
|
|
990
|
-
description:
|
|
991
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
992
|
-
format: 'uri',
|
|
993
|
-
},
|
|
994
|
-
previous: {
|
|
995
|
-
type: 'string',
|
|
996
|
-
description:
|
|
997
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
998
|
-
format: 'uri',
|
|
999
|
-
},
|
|
1000
|
-
values: {
|
|
1001
|
-
type: 'array',
|
|
1002
|
-
items: {
|
|
1003
|
-
allOf: [
|
|
1004
|
-
{
|
|
1005
|
-
type: 'object',
|
|
1006
|
-
description:
|
|
1007
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1008
|
-
properties: {
|
|
1009
|
-
type: {
|
|
1010
|
-
type: 'string',
|
|
1011
|
-
},
|
|
1012
|
-
},
|
|
1013
|
-
required: ['type'],
|
|
1014
|
-
additionalProperties: true,
|
|
1015
|
-
},
|
|
1016
|
-
{
|
|
1017
|
-
type: 'object',
|
|
1018
|
-
description:
|
|
1019
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
1020
|
-
properties: {
|
|
1021
|
-
links: {
|
|
1022
|
-
type: 'object',
|
|
1023
|
-
properties: {
|
|
1024
|
-
html: {
|
|
1025
|
-
type: 'object',
|
|
1026
|
-
properties: {
|
|
1027
|
-
href: {
|
|
1028
|
-
type: 'string',
|
|
1029
|
-
format: 'uri',
|
|
1030
|
-
},
|
|
1031
|
-
name: {
|
|
1032
|
-
type: 'string',
|
|
1033
|
-
},
|
|
1034
|
-
},
|
|
1035
|
-
additionalProperties: false,
|
|
1036
|
-
},
|
|
1037
|
-
avatar: {
|
|
1038
|
-
type: 'object',
|
|
1039
|
-
properties: {
|
|
1040
|
-
href: {
|
|
1041
|
-
type: 'string',
|
|
1042
|
-
format: 'uri',
|
|
1043
|
-
},
|
|
1044
|
-
name: {
|
|
1045
|
-
type: 'string',
|
|
1046
|
-
},
|
|
1047
|
-
},
|
|
1048
|
-
additionalProperties: false,
|
|
1049
|
-
},
|
|
1050
|
-
},
|
|
1051
|
-
additionalProperties: false,
|
|
1052
|
-
},
|
|
1053
|
-
uuid: {
|
|
1054
|
-
type: 'string',
|
|
1055
|
-
description: "The project's immutable id.",
|
|
1056
|
-
},
|
|
1057
|
-
key: {
|
|
1058
|
-
type: 'string',
|
|
1059
|
-
description: "The project's key.",
|
|
1060
|
-
},
|
|
1061
|
-
owner: {
|
|
1062
|
-
allOf: [
|
|
1063
|
-
{
|
|
1064
|
-
type: 'object',
|
|
1065
|
-
description:
|
|
1066
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1067
|
-
properties: {
|
|
1068
|
-
type: {
|
|
1069
|
-
type: 'string',
|
|
1070
|
-
},
|
|
1071
|
-
},
|
|
1072
|
-
required: ['type'],
|
|
1073
|
-
additionalProperties: true,
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
type: 'object',
|
|
1077
|
-
description: 'An account object.',
|
|
1078
|
-
properties: {
|
|
1079
|
-
links: {
|
|
1080
|
-
type: 'object',
|
|
1081
|
-
properties: {
|
|
1082
|
-
self: {
|
|
1083
|
-
type: 'object',
|
|
1084
|
-
properties: {
|
|
1085
|
-
href: {
|
|
1086
|
-
type: 'string',
|
|
1087
|
-
format: 'uri',
|
|
1088
|
-
},
|
|
1089
|
-
name: {
|
|
1090
|
-
type: 'string',
|
|
1091
|
-
},
|
|
1092
|
-
},
|
|
1093
|
-
additionalProperties: false,
|
|
1094
|
-
},
|
|
1095
|
-
html: {
|
|
1096
|
-
type: 'object',
|
|
1097
|
-
properties: {
|
|
1098
|
-
href: {
|
|
1099
|
-
type: 'string',
|
|
1100
|
-
format: 'uri',
|
|
1101
|
-
},
|
|
1102
|
-
name: {
|
|
1103
|
-
type: 'string',
|
|
1104
|
-
},
|
|
1105
|
-
},
|
|
1106
|
-
additionalProperties: false,
|
|
1107
|
-
},
|
|
1108
|
-
avatar: {
|
|
1109
|
-
type: 'object',
|
|
1110
|
-
properties: {
|
|
1111
|
-
href: {
|
|
1112
|
-
type: 'string',
|
|
1113
|
-
format: 'uri',
|
|
1114
|
-
},
|
|
1115
|
-
name: {
|
|
1116
|
-
type: 'string',
|
|
1117
|
-
},
|
|
1118
|
-
},
|
|
1119
|
-
additionalProperties: false,
|
|
1120
|
-
},
|
|
1121
|
-
followers: {
|
|
1122
|
-
type: 'object',
|
|
1123
|
-
properties: {
|
|
1124
|
-
href: {
|
|
1125
|
-
type: 'string',
|
|
1126
|
-
format: 'uri',
|
|
1127
|
-
},
|
|
1128
|
-
name: {
|
|
1129
|
-
type: 'string',
|
|
1130
|
-
},
|
|
1131
|
-
},
|
|
1132
|
-
additionalProperties: false,
|
|
1133
|
-
},
|
|
1134
|
-
following: {
|
|
1135
|
-
type: 'object',
|
|
1136
|
-
properties: {
|
|
1137
|
-
href: {
|
|
1138
|
-
type: 'string',
|
|
1139
|
-
format: 'uri',
|
|
1140
|
-
},
|
|
1141
|
-
name: {
|
|
1142
|
-
type: 'string',
|
|
1143
|
-
},
|
|
1144
|
-
},
|
|
1145
|
-
additionalProperties: false,
|
|
1146
|
-
},
|
|
1147
|
-
repositories: {
|
|
1148
|
-
type: 'object',
|
|
1149
|
-
properties: {
|
|
1150
|
-
href: {
|
|
1151
|
-
type: 'string',
|
|
1152
|
-
format: 'uri',
|
|
1153
|
-
},
|
|
1154
|
-
name: {
|
|
1155
|
-
type: 'string',
|
|
1156
|
-
},
|
|
1157
|
-
},
|
|
1158
|
-
additionalProperties: false,
|
|
1159
|
-
},
|
|
1160
|
-
},
|
|
1161
|
-
additionalProperties: false,
|
|
1162
|
-
},
|
|
1163
|
-
username: {
|
|
1164
|
-
type: 'string',
|
|
1165
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
1166
|
-
},
|
|
1167
|
-
nickname: {
|
|
1168
|
-
type: 'string',
|
|
1169
|
-
description:
|
|
1170
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
1171
|
-
},
|
|
1172
|
-
account_status: {
|
|
1173
|
-
type: 'string',
|
|
1174
|
-
description:
|
|
1175
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
1176
|
-
},
|
|
1177
|
-
display_name: {
|
|
1178
|
-
type: 'string',
|
|
1179
|
-
},
|
|
1180
|
-
website: {
|
|
1181
|
-
type: 'string',
|
|
1182
|
-
},
|
|
1183
|
-
created_on: {
|
|
1184
|
-
type: 'string',
|
|
1185
|
-
format: 'date-time',
|
|
1186
|
-
},
|
|
1187
|
-
uuid: {
|
|
1188
|
-
type: 'string',
|
|
1189
|
-
},
|
|
1190
|
-
has_2fa_enabled: {
|
|
1191
|
-
type: 'boolean',
|
|
1192
|
-
},
|
|
1193
|
-
},
|
|
1194
|
-
additionalProperties: true,
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
type: 'object',
|
|
1198
|
-
description: 'A team object.',
|
|
1199
|
-
properties: {},
|
|
1200
|
-
additionalProperties: true,
|
|
1201
|
-
},
|
|
1202
|
-
],
|
|
1203
|
-
},
|
|
1204
|
-
name: {
|
|
1205
|
-
type: 'string',
|
|
1206
|
-
description: 'The name of the project.',
|
|
1207
|
-
},
|
|
1208
|
-
description: {
|
|
1209
|
-
type: 'string',
|
|
1210
|
-
},
|
|
1211
|
-
is_private: {
|
|
1212
|
-
type: 'boolean',
|
|
1213
|
-
description:
|
|
1214
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
1215
|
-
},
|
|
1216
|
-
created_on: {
|
|
1217
|
-
type: 'string',
|
|
1218
|
-
format: 'date-time',
|
|
1219
|
-
},
|
|
1220
|
-
updated_on: {
|
|
1221
|
-
type: 'string',
|
|
1222
|
-
format: 'date-time',
|
|
1223
|
-
},
|
|
1224
|
-
},
|
|
1225
|
-
additionalProperties: true,
|
|
1226
|
-
},
|
|
1227
|
-
],
|
|
1228
|
-
},
|
|
1229
|
-
minItems: 0,
|
|
1230
|
-
uniqueItems: true,
|
|
1231
|
-
},
|
|
1232
|
-
},
|
|
1233
|
-
additionalProperties: false,
|
|
1234
|
-
},
|
|
1235
|
-
],
|
|
1236
|
-
type: 'object',
|
|
1237
|
-
},
|
|
1238
|
-
{
|
|
1239
|
-
type: 'object',
|
|
1240
|
-
properties: {
|
|
1241
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
1242
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
1243
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
1244
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
1245
|
-
user: {
|
|
1246
|
-
title: 'User',
|
|
1247
|
-
type: 'object',
|
|
1248
|
-
properties: {
|
|
1249
|
-
name: { type: 'string', description: "The user's full name." },
|
|
1250
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
1251
|
-
},
|
|
1252
|
-
required: ['name', 'age'],
|
|
1253
|
-
},
|
|
1254
|
-
},
|
|
1255
|
-
required: ['id', 'user'],
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
allOf: [
|
|
1259
|
-
{
|
|
1260
|
-
title: 'Todo Partial',
|
|
1261
|
-
type: 'object',
|
|
1262
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
1263
|
-
required: ['name', 'completed'],
|
|
1264
|
-
},
|
|
1265
|
-
{
|
|
1266
|
-
type: 'object',
|
|
1267
|
-
properties: {
|
|
1268
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
1269
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
1270
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
1271
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
1272
|
-
user: {
|
|
1273
|
-
title: 'User',
|
|
1274
|
-
type: 'object',
|
|
1275
|
-
properties: {
|
|
1276
|
-
name: { type: 'string', description: "The user's full name." },
|
|
1277
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
1278
|
-
},
|
|
1279
|
-
required: ['name', 'age'],
|
|
1280
|
-
},
|
|
1281
|
-
},
|
|
1282
|
-
required: ['id', 'user'],
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
type: 'object',
|
|
1286
|
-
description: 'A paginated list of projects',
|
|
1287
|
-
properties: {
|
|
1288
|
-
size: {
|
|
1289
|
-
type: 'integer',
|
|
1290
|
-
description:
|
|
1291
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
1292
|
-
minimum: 0,
|
|
1293
|
-
},
|
|
1294
|
-
page: {
|
|
1295
|
-
type: 'integer',
|
|
1296
|
-
description:
|
|
1297
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
1298
|
-
minimum: 1,
|
|
1299
|
-
},
|
|
1300
|
-
pagelen: {
|
|
1301
|
-
type: 'integer',
|
|
1302
|
-
description:
|
|
1303
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
1304
|
-
minimum: 1,
|
|
1305
|
-
},
|
|
1306
|
-
next: {
|
|
1307
|
-
type: 'string',
|
|
1308
|
-
description:
|
|
1309
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
1310
|
-
format: 'uri',
|
|
1311
|
-
},
|
|
1312
|
-
previous: {
|
|
1313
|
-
type: 'string',
|
|
1314
|
-
description:
|
|
1315
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
1316
|
-
format: 'uri',
|
|
1317
|
-
},
|
|
1318
|
-
values: {
|
|
1319
|
-
type: 'array',
|
|
1320
|
-
items: {
|
|
1321
|
-
allOf: [
|
|
1322
|
-
{
|
|
1323
|
-
type: 'object',
|
|
1324
|
-
description:
|
|
1325
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1326
|
-
properties: {
|
|
1327
|
-
type: {
|
|
1328
|
-
type: 'string',
|
|
1329
|
-
},
|
|
1330
|
-
},
|
|
1331
|
-
required: ['type'],
|
|
1332
|
-
additionalProperties: true,
|
|
1333
|
-
},
|
|
1334
|
-
{
|
|
1335
|
-
type: 'object',
|
|
1336
|
-
description:
|
|
1337
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
1338
|
-
properties: {
|
|
1339
|
-
links: {
|
|
1340
|
-
type: 'object',
|
|
1341
|
-
properties: {
|
|
1342
|
-
html: {
|
|
1343
|
-
type: 'object',
|
|
1344
|
-
properties: {
|
|
1345
|
-
href: {
|
|
1346
|
-
type: 'string',
|
|
1347
|
-
format: 'uri',
|
|
1348
|
-
},
|
|
1349
|
-
name: {
|
|
1350
|
-
type: 'string',
|
|
1351
|
-
},
|
|
1352
|
-
},
|
|
1353
|
-
additionalProperties: false,
|
|
1354
|
-
},
|
|
1355
|
-
avatar: {
|
|
1356
|
-
type: 'object',
|
|
1357
|
-
properties: {
|
|
1358
|
-
href: {
|
|
1359
|
-
type: 'string',
|
|
1360
|
-
format: 'uri',
|
|
1361
|
-
},
|
|
1362
|
-
name: {
|
|
1363
|
-
type: 'string',
|
|
1364
|
-
},
|
|
1365
|
-
},
|
|
1366
|
-
additionalProperties: false,
|
|
1367
|
-
},
|
|
1368
|
-
},
|
|
1369
|
-
additionalProperties: false,
|
|
1370
|
-
},
|
|
1371
|
-
uuid: {
|
|
1372
|
-
type: 'string',
|
|
1373
|
-
description: "The project's immutable id.",
|
|
1374
|
-
},
|
|
1375
|
-
key: {
|
|
1376
|
-
type: 'string',
|
|
1377
|
-
description: "The project's key.",
|
|
1378
|
-
},
|
|
1379
|
-
owner: {
|
|
1380
|
-
allOf: [
|
|
1381
|
-
{
|
|
1382
|
-
type: 'object',
|
|
1383
|
-
description:
|
|
1384
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1385
|
-
properties: {
|
|
1386
|
-
type: {
|
|
1387
|
-
type: 'string',
|
|
1388
|
-
},
|
|
1389
|
-
},
|
|
1390
|
-
required: ['type'],
|
|
1391
|
-
additionalProperties: true,
|
|
1392
|
-
},
|
|
1393
|
-
{
|
|
1394
|
-
type: 'object',
|
|
1395
|
-
description: 'An account object.',
|
|
1396
|
-
properties: {
|
|
1397
|
-
links: {
|
|
1398
|
-
type: 'object',
|
|
1399
|
-
properties: {
|
|
1400
|
-
self: {
|
|
1401
|
-
type: 'object',
|
|
1402
|
-
properties: {
|
|
1403
|
-
href: {
|
|
1404
|
-
type: 'string',
|
|
1405
|
-
format: 'uri',
|
|
1406
|
-
},
|
|
1407
|
-
name: {
|
|
1408
|
-
type: 'string',
|
|
1409
|
-
},
|
|
1410
|
-
},
|
|
1411
|
-
additionalProperties: false,
|
|
1412
|
-
},
|
|
1413
|
-
html: {
|
|
1414
|
-
type: 'object',
|
|
1415
|
-
properties: {
|
|
1416
|
-
href: {
|
|
1417
|
-
type: 'string',
|
|
1418
|
-
format: 'uri',
|
|
1419
|
-
},
|
|
1420
|
-
name: {
|
|
1421
|
-
type: 'string',
|
|
1422
|
-
},
|
|
1423
|
-
},
|
|
1424
|
-
additionalProperties: false,
|
|
1425
|
-
},
|
|
1426
|
-
avatar: {
|
|
1427
|
-
type: 'object',
|
|
1428
|
-
properties: {
|
|
1429
|
-
href: {
|
|
1430
|
-
type: 'string',
|
|
1431
|
-
format: 'uri',
|
|
1432
|
-
},
|
|
1433
|
-
name: {
|
|
1434
|
-
type: 'string',
|
|
1435
|
-
},
|
|
1436
|
-
},
|
|
1437
|
-
additionalProperties: false,
|
|
1438
|
-
},
|
|
1439
|
-
followers: {
|
|
1440
|
-
type: 'object',
|
|
1441
|
-
properties: {
|
|
1442
|
-
href: {
|
|
1443
|
-
type: 'string',
|
|
1444
|
-
format: 'uri',
|
|
1445
|
-
},
|
|
1446
|
-
name: {
|
|
1447
|
-
type: 'string',
|
|
1448
|
-
},
|
|
1449
|
-
},
|
|
1450
|
-
additionalProperties: false,
|
|
1451
|
-
},
|
|
1452
|
-
following: {
|
|
1453
|
-
type: 'object',
|
|
1454
|
-
properties: {
|
|
1455
|
-
href: {
|
|
1456
|
-
type: 'string',
|
|
1457
|
-
format: 'uri',
|
|
1458
|
-
},
|
|
1459
|
-
name: {
|
|
1460
|
-
type: 'string',
|
|
1461
|
-
},
|
|
1462
|
-
},
|
|
1463
|
-
additionalProperties: false,
|
|
1464
|
-
},
|
|
1465
|
-
repositories: {
|
|
1466
|
-
type: 'object',
|
|
1467
|
-
properties: {
|
|
1468
|
-
href: {
|
|
1469
|
-
type: 'string',
|
|
1470
|
-
format: 'uri',
|
|
1471
|
-
},
|
|
1472
|
-
name: {
|
|
1473
|
-
type: 'string',
|
|
1474
|
-
},
|
|
1475
|
-
},
|
|
1476
|
-
additionalProperties: false,
|
|
1477
|
-
},
|
|
1478
|
-
},
|
|
1479
|
-
additionalProperties: false,
|
|
1480
|
-
},
|
|
1481
|
-
username: {
|
|
1482
|
-
type: 'string',
|
|
1483
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
1484
|
-
},
|
|
1485
|
-
nickname: {
|
|
1486
|
-
type: 'string',
|
|
1487
|
-
description:
|
|
1488
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
1489
|
-
},
|
|
1490
|
-
account_status: {
|
|
1491
|
-
type: 'string',
|
|
1492
|
-
description:
|
|
1493
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
1494
|
-
},
|
|
1495
|
-
display_name: {
|
|
1496
|
-
type: 'string',
|
|
1497
|
-
},
|
|
1498
|
-
website: {
|
|
1499
|
-
type: 'string',
|
|
1500
|
-
},
|
|
1501
|
-
created_on: {
|
|
1502
|
-
type: 'string',
|
|
1503
|
-
format: 'date-time',
|
|
1504
|
-
},
|
|
1505
|
-
uuid: {
|
|
1506
|
-
type: 'string',
|
|
1507
|
-
},
|
|
1508
|
-
has_2fa_enabled: {
|
|
1509
|
-
type: 'boolean',
|
|
1510
|
-
},
|
|
1511
|
-
},
|
|
1512
|
-
additionalProperties: true,
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
type: 'object',
|
|
1516
|
-
description: 'A team object.',
|
|
1517
|
-
properties: {},
|
|
1518
|
-
additionalProperties: true,
|
|
1519
|
-
},
|
|
1520
|
-
],
|
|
1521
|
-
},
|
|
1522
|
-
name: {
|
|
1523
|
-
type: 'string',
|
|
1524
|
-
description: 'The name of the project.',
|
|
1525
|
-
},
|
|
1526
|
-
description: {
|
|
1527
|
-
type: 'string',
|
|
1528
|
-
},
|
|
1529
|
-
is_private: {
|
|
1530
|
-
type: 'boolean',
|
|
1531
|
-
description:
|
|
1532
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
1533
|
-
},
|
|
1534
|
-
created_on: {
|
|
1535
|
-
type: 'string',
|
|
1536
|
-
format: 'date-time',
|
|
1537
|
-
},
|
|
1538
|
-
updated_on: {
|
|
1539
|
-
type: 'string',
|
|
1540
|
-
format: 'date-time',
|
|
1541
|
-
},
|
|
1542
|
-
},
|
|
1543
|
-
additionalProperties: true,
|
|
1544
|
-
},
|
|
1545
|
-
],
|
|
1546
|
-
},
|
|
1547
|
-
minItems: 0,
|
|
1548
|
-
uniqueItems: true,
|
|
1549
|
-
},
|
|
1550
|
-
},
|
|
1551
|
-
additionalProperties: false,
|
|
1552
|
-
},
|
|
1553
|
-
],
|
|
1554
|
-
type: 'object',
|
|
1555
|
-
},
|
|
1556
|
-
],
|
|
1557
|
-
type: 'object',
|
|
1558
|
-
},
|
|
1559
|
-
},
|
|
1560
|
-
},
|
|
1561
|
-
],
|
|
1562
|
-
type: 'object',
|
|
1563
|
-
},
|
|
1564
|
-
fgkasergsd: {
|
|
1565
|
-
allOf: [
|
|
1566
|
-
{
|
|
1567
|
-
title: 'Todo Partial',
|
|
1568
|
-
type: 'object',
|
|
1569
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
1570
|
-
required: ['name', 'completed'],
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
type: 'object',
|
|
1574
|
-
properties: {
|
|
1575
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
1576
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
1577
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
1578
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
1579
|
-
user: {
|
|
1580
|
-
title: 'User',
|
|
1581
|
-
type: 'object',
|
|
1582
|
-
properties: {
|
|
1583
|
-
name: { type: 'string', description: "The user's full name." },
|
|
1584
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
1585
|
-
},
|
|
1586
|
-
required: ['name', 'age'],
|
|
1587
|
-
},
|
|
1588
|
-
},
|
|
1589
|
-
required: ['id', 'user'],
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
type: 'object',
|
|
1593
|
-
description: 'A paginated list of projects',
|
|
1594
|
-
properties: {
|
|
1595
|
-
size: {
|
|
1596
|
-
type: 'integer',
|
|
1597
|
-
description:
|
|
1598
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
1599
|
-
minimum: 0,
|
|
1600
|
-
},
|
|
1601
|
-
page: {
|
|
1602
|
-
type: 'integer',
|
|
1603
|
-
description:
|
|
1604
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
1605
|
-
minimum: 1,
|
|
1606
|
-
},
|
|
1607
|
-
pagelen: {
|
|
1608
|
-
type: 'integer',
|
|
1609
|
-
description:
|
|
1610
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
1611
|
-
minimum: 1,
|
|
1612
|
-
},
|
|
1613
|
-
next: {
|
|
1614
|
-
type: 'string',
|
|
1615
|
-
description:
|
|
1616
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
1617
|
-
format: 'uri',
|
|
1618
|
-
},
|
|
1619
|
-
previous: {
|
|
1620
|
-
type: 'string',
|
|
1621
|
-
description:
|
|
1622
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
1623
|
-
format: 'uri',
|
|
1624
|
-
},
|
|
1625
|
-
values: {
|
|
1626
|
-
type: 'array',
|
|
1627
|
-
items: {
|
|
1628
|
-
allOf: [
|
|
1629
|
-
{
|
|
1630
|
-
type: 'object',
|
|
1631
|
-
description:
|
|
1632
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1633
|
-
properties: {
|
|
1634
|
-
type: {
|
|
1635
|
-
type: 'string',
|
|
1636
|
-
},
|
|
1637
|
-
},
|
|
1638
|
-
required: ['type'],
|
|
1639
|
-
additionalProperties: true,
|
|
1640
|
-
},
|
|
1641
|
-
{
|
|
1642
|
-
type: 'object',
|
|
1643
|
-
description:
|
|
1644
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
1645
|
-
properties: {
|
|
1646
|
-
links: {
|
|
1647
|
-
type: 'object',
|
|
1648
|
-
properties: {
|
|
1649
|
-
html: {
|
|
1650
|
-
type: 'object',
|
|
1651
|
-
properties: {
|
|
1652
|
-
href: {
|
|
1653
|
-
type: 'string',
|
|
1654
|
-
format: 'uri',
|
|
1655
|
-
},
|
|
1656
|
-
name: {
|
|
1657
|
-
type: 'string',
|
|
1658
|
-
},
|
|
1659
|
-
},
|
|
1660
|
-
additionalProperties: false,
|
|
1661
|
-
},
|
|
1662
|
-
avatar: {
|
|
1663
|
-
type: 'object',
|
|
1664
|
-
properties: {
|
|
1665
|
-
href: {
|
|
1666
|
-
type: 'string',
|
|
1667
|
-
format: 'uri',
|
|
1668
|
-
},
|
|
1669
|
-
name: {
|
|
1670
|
-
type: 'string',
|
|
1671
|
-
},
|
|
1672
|
-
},
|
|
1673
|
-
additionalProperties: false,
|
|
1674
|
-
},
|
|
1675
|
-
},
|
|
1676
|
-
additionalProperties: false,
|
|
1677
|
-
},
|
|
1678
|
-
uuid: {
|
|
1679
|
-
type: 'string',
|
|
1680
|
-
description: "The project's immutable id.",
|
|
1681
|
-
},
|
|
1682
|
-
key: {
|
|
1683
|
-
type: 'string',
|
|
1684
|
-
description: "The project's key.",
|
|
1685
|
-
},
|
|
1686
|
-
owner: {
|
|
1687
|
-
allOf: [
|
|
1688
|
-
{
|
|
1689
|
-
type: 'object',
|
|
1690
|
-
description:
|
|
1691
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1692
|
-
properties: {
|
|
1693
|
-
type: {
|
|
1694
|
-
type: 'string',
|
|
1695
|
-
},
|
|
1696
|
-
},
|
|
1697
|
-
required: ['type'],
|
|
1698
|
-
additionalProperties: true,
|
|
1699
|
-
},
|
|
1700
|
-
{
|
|
1701
|
-
type: 'object',
|
|
1702
|
-
description: 'An account object.',
|
|
1703
|
-
properties: {
|
|
1704
|
-
links: {
|
|
1705
|
-
type: 'object',
|
|
1706
|
-
properties: {
|
|
1707
|
-
self: {
|
|
1708
|
-
type: 'object',
|
|
1709
|
-
properties: {
|
|
1710
|
-
href: {
|
|
1711
|
-
type: 'string',
|
|
1712
|
-
format: 'uri',
|
|
1713
|
-
},
|
|
1714
|
-
name: {
|
|
1715
|
-
type: 'string',
|
|
1716
|
-
},
|
|
1717
|
-
},
|
|
1718
|
-
additionalProperties: false,
|
|
1719
|
-
},
|
|
1720
|
-
html: {
|
|
1721
|
-
type: 'object',
|
|
1722
|
-
properties: {
|
|
1723
|
-
href: {
|
|
1724
|
-
type: 'string',
|
|
1725
|
-
format: 'uri',
|
|
1726
|
-
},
|
|
1727
|
-
name: {
|
|
1728
|
-
type: 'string',
|
|
1729
|
-
},
|
|
1730
|
-
},
|
|
1731
|
-
additionalProperties: false,
|
|
1732
|
-
},
|
|
1733
|
-
avatar: {
|
|
1734
|
-
type: 'object',
|
|
1735
|
-
properties: {
|
|
1736
|
-
href: {
|
|
1737
|
-
type: 'string',
|
|
1738
|
-
format: 'uri',
|
|
1739
|
-
},
|
|
1740
|
-
name: {
|
|
1741
|
-
type: 'string',
|
|
1742
|
-
},
|
|
1743
|
-
},
|
|
1744
|
-
additionalProperties: false,
|
|
1745
|
-
},
|
|
1746
|
-
followers: {
|
|
1747
|
-
type: 'object',
|
|
1748
|
-
properties: {
|
|
1749
|
-
href: {
|
|
1750
|
-
type: 'string',
|
|
1751
|
-
format: 'uri',
|
|
1752
|
-
},
|
|
1753
|
-
name: {
|
|
1754
|
-
type: 'string',
|
|
1755
|
-
},
|
|
1756
|
-
},
|
|
1757
|
-
additionalProperties: false,
|
|
1758
|
-
},
|
|
1759
|
-
following: {
|
|
1760
|
-
type: 'object',
|
|
1761
|
-
properties: {
|
|
1762
|
-
href: {
|
|
1763
|
-
type: 'string',
|
|
1764
|
-
format: 'uri',
|
|
1765
|
-
},
|
|
1766
|
-
name: {
|
|
1767
|
-
type: 'string',
|
|
1768
|
-
},
|
|
1769
|
-
},
|
|
1770
|
-
additionalProperties: false,
|
|
1771
|
-
},
|
|
1772
|
-
repositories: {
|
|
1773
|
-
type: 'object',
|
|
1774
|
-
properties: {
|
|
1775
|
-
href: {
|
|
1776
|
-
type: 'string',
|
|
1777
|
-
format: 'uri',
|
|
1778
|
-
},
|
|
1779
|
-
name: {
|
|
1780
|
-
type: 'string',
|
|
1781
|
-
},
|
|
1782
|
-
},
|
|
1783
|
-
additionalProperties: false,
|
|
1784
|
-
},
|
|
1785
|
-
},
|
|
1786
|
-
additionalProperties: false,
|
|
1787
|
-
},
|
|
1788
|
-
username: {
|
|
1789
|
-
type: 'string',
|
|
1790
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
1791
|
-
},
|
|
1792
|
-
nickname: {
|
|
1793
|
-
type: 'string',
|
|
1794
|
-
description:
|
|
1795
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
1796
|
-
},
|
|
1797
|
-
account_status: {
|
|
1798
|
-
type: 'string',
|
|
1799
|
-
description:
|
|
1800
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
1801
|
-
},
|
|
1802
|
-
display_name: {
|
|
1803
|
-
type: 'string',
|
|
1804
|
-
},
|
|
1805
|
-
website: {
|
|
1806
|
-
type: 'string',
|
|
1807
|
-
},
|
|
1808
|
-
created_on: {
|
|
1809
|
-
type: 'string',
|
|
1810
|
-
format: 'date-time',
|
|
1811
|
-
},
|
|
1812
|
-
uuid: {
|
|
1813
|
-
type: 'string',
|
|
1814
|
-
},
|
|
1815
|
-
has_2fa_enabled: {
|
|
1816
|
-
type: 'boolean',
|
|
1817
|
-
},
|
|
1818
|
-
},
|
|
1819
|
-
additionalProperties: true,
|
|
1820
|
-
},
|
|
1821
|
-
{
|
|
1822
|
-
type: 'object',
|
|
1823
|
-
description: 'A team object.',
|
|
1824
|
-
properties: {},
|
|
1825
|
-
additionalProperties: true,
|
|
1826
|
-
},
|
|
1827
|
-
],
|
|
1828
|
-
},
|
|
1829
|
-
name: {
|
|
1830
|
-
type: 'string',
|
|
1831
|
-
description: 'The name of the project.',
|
|
1832
|
-
},
|
|
1833
|
-
description: {
|
|
1834
|
-
type: 'string',
|
|
1835
|
-
},
|
|
1836
|
-
is_private: {
|
|
1837
|
-
type: 'boolean',
|
|
1838
|
-
description:
|
|
1839
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
1840
|
-
},
|
|
1841
|
-
created_on: {
|
|
1842
|
-
type: 'string',
|
|
1843
|
-
format: 'date-time',
|
|
1844
|
-
},
|
|
1845
|
-
updated_on: {
|
|
1846
|
-
type: 'string',
|
|
1847
|
-
format: 'date-time',
|
|
1848
|
-
},
|
|
1849
|
-
},
|
|
1850
|
-
additionalProperties: true,
|
|
1851
|
-
},
|
|
1852
|
-
],
|
|
1853
|
-
},
|
|
1854
|
-
minItems: 0,
|
|
1855
|
-
uniqueItems: true,
|
|
1856
|
-
},
|
|
1857
|
-
},
|
|
1858
|
-
additionalProperties: false,
|
|
1859
|
-
},
|
|
1860
|
-
{
|
|
1861
|
-
title: 'asdf',
|
|
1862
|
-
type: 'object',
|
|
1863
|
-
properties: {
|
|
1864
|
-
id: {
|
|
1865
|
-
allOf: [
|
|
1866
|
-
{
|
|
1867
|
-
title: 'Todo Partial',
|
|
1868
|
-
type: 'object',
|
|
1869
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
1870
|
-
required: ['name', 'completed'],
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
type: 'object',
|
|
1874
|
-
properties: {
|
|
1875
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
1876
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
1877
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
1878
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
1879
|
-
user: {
|
|
1880
|
-
title: 'User',
|
|
1881
|
-
type: 'object',
|
|
1882
|
-
properties: {
|
|
1883
|
-
name: { type: 'string', description: "The user's full name." },
|
|
1884
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
1885
|
-
},
|
|
1886
|
-
required: ['name', 'age'],
|
|
1887
|
-
},
|
|
1888
|
-
},
|
|
1889
|
-
required: ['id', 'user'],
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
type: 'object',
|
|
1893
|
-
description: 'A paginated list of projects',
|
|
1894
|
-
properties: {
|
|
1895
|
-
size: {
|
|
1896
|
-
type: 'integer',
|
|
1897
|
-
description:
|
|
1898
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
1899
|
-
minimum: 0,
|
|
1900
|
-
},
|
|
1901
|
-
page: {
|
|
1902
|
-
type: 'integer',
|
|
1903
|
-
description:
|
|
1904
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
1905
|
-
minimum: 1,
|
|
1906
|
-
},
|
|
1907
|
-
pagelen: {
|
|
1908
|
-
type: 'integer',
|
|
1909
|
-
description:
|
|
1910
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
1911
|
-
minimum: 1,
|
|
1912
|
-
},
|
|
1913
|
-
next: {
|
|
1914
|
-
type: 'string',
|
|
1915
|
-
description:
|
|
1916
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
1917
|
-
format: 'uri',
|
|
1918
|
-
},
|
|
1919
|
-
previous: {
|
|
1920
|
-
type: 'string',
|
|
1921
|
-
description:
|
|
1922
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
1923
|
-
format: 'uri',
|
|
1924
|
-
},
|
|
1925
|
-
values: {
|
|
1926
|
-
type: 'array',
|
|
1927
|
-
items: {
|
|
1928
|
-
allOf: [
|
|
1929
|
-
{
|
|
1930
|
-
type: 'object',
|
|
1931
|
-
description:
|
|
1932
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1933
|
-
properties: {
|
|
1934
|
-
type: {
|
|
1935
|
-
type: 'string',
|
|
1936
|
-
},
|
|
1937
|
-
},
|
|
1938
|
-
required: ['type'],
|
|
1939
|
-
additionalProperties: true,
|
|
1940
|
-
},
|
|
1941
|
-
{
|
|
1942
|
-
type: 'object',
|
|
1943
|
-
description:
|
|
1944
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
1945
|
-
properties: {
|
|
1946
|
-
links: {
|
|
1947
|
-
type: 'object',
|
|
1948
|
-
properties: {
|
|
1949
|
-
html: {
|
|
1950
|
-
type: 'object',
|
|
1951
|
-
properties: {
|
|
1952
|
-
href: {
|
|
1953
|
-
type: 'string',
|
|
1954
|
-
format: 'uri',
|
|
1955
|
-
},
|
|
1956
|
-
name: {
|
|
1957
|
-
type: 'string',
|
|
1958
|
-
},
|
|
1959
|
-
},
|
|
1960
|
-
additionalProperties: false,
|
|
1961
|
-
},
|
|
1962
|
-
avatar: {
|
|
1963
|
-
type: 'object',
|
|
1964
|
-
properties: {
|
|
1965
|
-
href: {
|
|
1966
|
-
type: 'string',
|
|
1967
|
-
format: 'uri',
|
|
1968
|
-
},
|
|
1969
|
-
name: {
|
|
1970
|
-
type: 'string',
|
|
1971
|
-
},
|
|
1972
|
-
},
|
|
1973
|
-
additionalProperties: false,
|
|
1974
|
-
},
|
|
1975
|
-
},
|
|
1976
|
-
additionalProperties: false,
|
|
1977
|
-
},
|
|
1978
|
-
uuid: {
|
|
1979
|
-
type: 'string',
|
|
1980
|
-
description: "The project's immutable id.",
|
|
1981
|
-
},
|
|
1982
|
-
key: {
|
|
1983
|
-
type: 'string',
|
|
1984
|
-
description: "The project's key.",
|
|
1985
|
-
},
|
|
1986
|
-
owner: {
|
|
1987
|
-
allOf: [
|
|
1988
|
-
{
|
|
1989
|
-
type: 'object',
|
|
1990
|
-
description:
|
|
1991
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
1992
|
-
properties: {
|
|
1993
|
-
type: {
|
|
1994
|
-
type: 'string',
|
|
1995
|
-
},
|
|
1996
|
-
},
|
|
1997
|
-
required: ['type'],
|
|
1998
|
-
additionalProperties: true,
|
|
1999
|
-
},
|
|
2000
|
-
{
|
|
2001
|
-
type: 'object',
|
|
2002
|
-
description: 'An account object.',
|
|
2003
|
-
properties: {
|
|
2004
|
-
links: {
|
|
2005
|
-
type: 'object',
|
|
2006
|
-
properties: {
|
|
2007
|
-
self: {
|
|
2008
|
-
type: 'object',
|
|
2009
|
-
properties: {
|
|
2010
|
-
href: {
|
|
2011
|
-
type: 'string',
|
|
2012
|
-
format: 'uri',
|
|
2013
|
-
},
|
|
2014
|
-
name: {
|
|
2015
|
-
type: 'string',
|
|
2016
|
-
},
|
|
2017
|
-
},
|
|
2018
|
-
additionalProperties: false,
|
|
2019
|
-
},
|
|
2020
|
-
html: {
|
|
2021
|
-
type: 'object',
|
|
2022
|
-
properties: {
|
|
2023
|
-
href: {
|
|
2024
|
-
type: 'string',
|
|
2025
|
-
format: 'uri',
|
|
2026
|
-
},
|
|
2027
|
-
name: {
|
|
2028
|
-
type: 'string',
|
|
2029
|
-
},
|
|
2030
|
-
},
|
|
2031
|
-
additionalProperties: false,
|
|
2032
|
-
},
|
|
2033
|
-
avatar: {
|
|
2034
|
-
type: 'object',
|
|
2035
|
-
properties: {
|
|
2036
|
-
href: {
|
|
2037
|
-
type: 'string',
|
|
2038
|
-
format: 'uri',
|
|
2039
|
-
},
|
|
2040
|
-
name: {
|
|
2041
|
-
type: 'string',
|
|
2042
|
-
},
|
|
2043
|
-
},
|
|
2044
|
-
additionalProperties: false,
|
|
2045
|
-
},
|
|
2046
|
-
followers: {
|
|
2047
|
-
type: 'object',
|
|
2048
|
-
properties: {
|
|
2049
|
-
href: {
|
|
2050
|
-
type: 'string',
|
|
2051
|
-
format: 'uri',
|
|
2052
|
-
},
|
|
2053
|
-
name: {
|
|
2054
|
-
type: 'string',
|
|
2055
|
-
},
|
|
2056
|
-
},
|
|
2057
|
-
additionalProperties: false,
|
|
2058
|
-
},
|
|
2059
|
-
following: {
|
|
2060
|
-
type: 'object',
|
|
2061
|
-
properties: {
|
|
2062
|
-
href: {
|
|
2063
|
-
type: 'string',
|
|
2064
|
-
format: 'uri',
|
|
2065
|
-
},
|
|
2066
|
-
name: {
|
|
2067
|
-
type: 'string',
|
|
2068
|
-
},
|
|
2069
|
-
},
|
|
2070
|
-
additionalProperties: false,
|
|
2071
|
-
},
|
|
2072
|
-
repositories: {
|
|
2073
|
-
type: 'object',
|
|
2074
|
-
properties: {
|
|
2075
|
-
href: {
|
|
2076
|
-
type: 'string',
|
|
2077
|
-
format: 'uri',
|
|
2078
|
-
},
|
|
2079
|
-
name: {
|
|
2080
|
-
type: 'string',
|
|
2081
|
-
},
|
|
2082
|
-
},
|
|
2083
|
-
additionalProperties: false,
|
|
2084
|
-
},
|
|
2085
|
-
},
|
|
2086
|
-
additionalProperties: false,
|
|
2087
|
-
},
|
|
2088
|
-
username: {
|
|
2089
|
-
type: 'string',
|
|
2090
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
2091
|
-
},
|
|
2092
|
-
nickname: {
|
|
2093
|
-
type: 'string',
|
|
2094
|
-
description:
|
|
2095
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
2096
|
-
},
|
|
2097
|
-
account_status: {
|
|
2098
|
-
type: 'string',
|
|
2099
|
-
description:
|
|
2100
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
2101
|
-
},
|
|
2102
|
-
display_name: {
|
|
2103
|
-
type: 'string',
|
|
2104
|
-
},
|
|
2105
|
-
website: {
|
|
2106
|
-
type: 'string',
|
|
2107
|
-
},
|
|
2108
|
-
created_on: {
|
|
2109
|
-
type: 'string',
|
|
2110
|
-
format: 'date-time',
|
|
2111
|
-
},
|
|
2112
|
-
uuid: {
|
|
2113
|
-
type: 'string',
|
|
2114
|
-
},
|
|
2115
|
-
has_2fa_enabled: {
|
|
2116
|
-
type: 'boolean',
|
|
2117
|
-
},
|
|
2118
|
-
},
|
|
2119
|
-
additionalProperties: true,
|
|
2120
|
-
},
|
|
2121
|
-
{
|
|
2122
|
-
type: 'object',
|
|
2123
|
-
description: 'A team object.',
|
|
2124
|
-
properties: {},
|
|
2125
|
-
additionalProperties: true,
|
|
2126
|
-
},
|
|
2127
|
-
],
|
|
2128
|
-
},
|
|
2129
|
-
name: {
|
|
2130
|
-
type: 'string',
|
|
2131
|
-
description: 'The name of the project.',
|
|
2132
|
-
},
|
|
2133
|
-
description: {
|
|
2134
|
-
type: 'string',
|
|
2135
|
-
},
|
|
2136
|
-
is_private: {
|
|
2137
|
-
type: 'boolean',
|
|
2138
|
-
description:
|
|
2139
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
2140
|
-
},
|
|
2141
|
-
created_on: {
|
|
2142
|
-
type: 'string',
|
|
2143
|
-
format: 'date-time',
|
|
2144
|
-
},
|
|
2145
|
-
updated_on: {
|
|
2146
|
-
type: 'string',
|
|
2147
|
-
format: 'date-time',
|
|
2148
|
-
},
|
|
2149
|
-
},
|
|
2150
|
-
additionalProperties: true,
|
|
2151
|
-
},
|
|
2152
|
-
],
|
|
2153
|
-
},
|
|
2154
|
-
minItems: 0,
|
|
2155
|
-
uniqueItems: true,
|
|
2156
|
-
},
|
|
2157
|
-
},
|
|
2158
|
-
additionalProperties: false,
|
|
2159
|
-
},
|
|
2160
|
-
],
|
|
2161
|
-
type: 'object',
|
|
2162
|
-
},
|
|
2163
|
-
lksdfg: {
|
|
2164
|
-
type: 'object',
|
|
2165
|
-
properties: {
|
|
2166
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
2167
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
2168
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
2169
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
2170
|
-
user: {
|
|
2171
|
-
title: 'User',
|
|
2172
|
-
type: 'object',
|
|
2173
|
-
properties: {
|
|
2174
|
-
name: { type: 'string', description: "The user's full name." },
|
|
2175
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
2176
|
-
},
|
|
2177
|
-
required: ['name', 'age'],
|
|
2178
|
-
},
|
|
2179
|
-
},
|
|
2180
|
-
required: ['id', 'user'],
|
|
2181
|
-
},
|
|
2182
|
-
qosf: {
|
|
2183
|
-
allOf: [
|
|
2184
|
-
{
|
|
2185
|
-
title: 'Todo Partial',
|
|
2186
|
-
type: 'object',
|
|
2187
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
2188
|
-
required: ['name', 'completed'],
|
|
2189
|
-
},
|
|
2190
|
-
{
|
|
2191
|
-
type: 'object',
|
|
2192
|
-
properties: {
|
|
2193
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
2194
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
2195
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
2196
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
2197
|
-
user: {
|
|
2198
|
-
title: 'User',
|
|
2199
|
-
type: 'object',
|
|
2200
|
-
properties: {
|
|
2201
|
-
name: { type: 'string', description: "The user's full name." },
|
|
2202
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
2203
|
-
},
|
|
2204
|
-
required: ['name', 'age'],
|
|
2205
|
-
},
|
|
2206
|
-
},
|
|
2207
|
-
required: ['id', 'user'],
|
|
2208
|
-
},
|
|
2209
|
-
{
|
|
2210
|
-
type: 'object',
|
|
2211
|
-
description: 'A paginated list of projects',
|
|
2212
|
-
properties: {
|
|
2213
|
-
size: {
|
|
2214
|
-
type: 'integer',
|
|
2215
|
-
description:
|
|
2216
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
2217
|
-
minimum: 0,
|
|
2218
|
-
},
|
|
2219
|
-
page: {
|
|
2220
|
-
type: 'integer',
|
|
2221
|
-
description:
|
|
2222
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
2223
|
-
minimum: 1,
|
|
2224
|
-
},
|
|
2225
|
-
pagelen: {
|
|
2226
|
-
type: 'integer',
|
|
2227
|
-
description:
|
|
2228
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
2229
|
-
minimum: 1,
|
|
2230
|
-
},
|
|
2231
|
-
next: {
|
|
2232
|
-
type: 'string',
|
|
2233
|
-
description:
|
|
2234
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
2235
|
-
format: 'uri',
|
|
2236
|
-
},
|
|
2237
|
-
previous: {
|
|
2238
|
-
type: 'string',
|
|
2239
|
-
description:
|
|
2240
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
2241
|
-
format: 'uri',
|
|
2242
|
-
},
|
|
2243
|
-
values: {
|
|
2244
|
-
type: 'array',
|
|
2245
|
-
items: {
|
|
2246
|
-
allOf: [
|
|
2247
|
-
{
|
|
2248
|
-
type: 'object',
|
|
2249
|
-
description:
|
|
2250
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
2251
|
-
properties: {
|
|
2252
|
-
type: {
|
|
2253
|
-
type: 'string',
|
|
2254
|
-
},
|
|
2255
|
-
},
|
|
2256
|
-
required: ['type'],
|
|
2257
|
-
additionalProperties: true,
|
|
2258
|
-
},
|
|
2259
|
-
{
|
|
2260
|
-
type: 'object',
|
|
2261
|
-
description:
|
|
2262
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
2263
|
-
properties: {
|
|
2264
|
-
links: {
|
|
2265
|
-
type: 'object',
|
|
2266
|
-
properties: {
|
|
2267
|
-
html: {
|
|
2268
|
-
type: 'object',
|
|
2269
|
-
properties: {
|
|
2270
|
-
href: {
|
|
2271
|
-
type: 'string',
|
|
2272
|
-
format: 'uri',
|
|
2273
|
-
},
|
|
2274
|
-
name: {
|
|
2275
|
-
type: 'string',
|
|
2276
|
-
},
|
|
2277
|
-
},
|
|
2278
|
-
additionalProperties: false,
|
|
2279
|
-
},
|
|
2280
|
-
avatar: {
|
|
2281
|
-
type: 'object',
|
|
2282
|
-
properties: {
|
|
2283
|
-
href: {
|
|
2284
|
-
type: 'string',
|
|
2285
|
-
format: 'uri',
|
|
2286
|
-
},
|
|
2287
|
-
name: {
|
|
2288
|
-
type: 'string',
|
|
2289
|
-
},
|
|
2290
|
-
},
|
|
2291
|
-
additionalProperties: false,
|
|
2292
|
-
},
|
|
2293
|
-
},
|
|
2294
|
-
additionalProperties: false,
|
|
2295
|
-
},
|
|
2296
|
-
uuid: {
|
|
2297
|
-
type: 'string',
|
|
2298
|
-
description: "The project's immutable id.",
|
|
2299
|
-
},
|
|
2300
|
-
key: {
|
|
2301
|
-
type: 'string',
|
|
2302
|
-
description: "The project's key.",
|
|
2303
|
-
},
|
|
2304
|
-
owner: {
|
|
2305
|
-
allOf: [
|
|
2306
|
-
{
|
|
2307
|
-
type: 'object',
|
|
2308
|
-
description:
|
|
2309
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
2310
|
-
properties: {
|
|
2311
|
-
type: {
|
|
2312
|
-
type: 'string',
|
|
2313
|
-
},
|
|
2314
|
-
},
|
|
2315
|
-
required: ['type'],
|
|
2316
|
-
additionalProperties: true,
|
|
2317
|
-
},
|
|
2318
|
-
{
|
|
2319
|
-
type: 'object',
|
|
2320
|
-
description: 'An account object.',
|
|
2321
|
-
properties: {
|
|
2322
|
-
links: {
|
|
2323
|
-
type: 'object',
|
|
2324
|
-
properties: {
|
|
2325
|
-
self: {
|
|
2326
|
-
type: 'object',
|
|
2327
|
-
properties: {
|
|
2328
|
-
href: {
|
|
2329
|
-
type: 'string',
|
|
2330
|
-
format: 'uri',
|
|
2331
|
-
},
|
|
2332
|
-
name: {
|
|
2333
|
-
type: 'string',
|
|
2334
|
-
},
|
|
2335
|
-
},
|
|
2336
|
-
additionalProperties: false,
|
|
2337
|
-
},
|
|
2338
|
-
html: {
|
|
2339
|
-
type: 'object',
|
|
2340
|
-
properties: {
|
|
2341
|
-
href: {
|
|
2342
|
-
type: 'string',
|
|
2343
|
-
format: 'uri',
|
|
2344
|
-
},
|
|
2345
|
-
name: {
|
|
2346
|
-
type: 'string',
|
|
2347
|
-
},
|
|
2348
|
-
},
|
|
2349
|
-
additionalProperties: false,
|
|
2350
|
-
},
|
|
2351
|
-
avatar: {
|
|
2352
|
-
type: 'object',
|
|
2353
|
-
properties: {
|
|
2354
|
-
href: {
|
|
2355
|
-
type: 'string',
|
|
2356
|
-
format: 'uri',
|
|
2357
|
-
},
|
|
2358
|
-
name: {
|
|
2359
|
-
type: 'string',
|
|
2360
|
-
},
|
|
2361
|
-
},
|
|
2362
|
-
additionalProperties: false,
|
|
2363
|
-
},
|
|
2364
|
-
followers: {
|
|
2365
|
-
type: 'object',
|
|
2366
|
-
properties: {
|
|
2367
|
-
href: {
|
|
2368
|
-
type: 'string',
|
|
2369
|
-
format: 'uri',
|
|
2370
|
-
},
|
|
2371
|
-
name: {
|
|
2372
|
-
type: 'string',
|
|
2373
|
-
},
|
|
2374
|
-
},
|
|
2375
|
-
additionalProperties: false,
|
|
2376
|
-
},
|
|
2377
|
-
following: {
|
|
2378
|
-
type: 'object',
|
|
2379
|
-
properties: {
|
|
2380
|
-
href: {
|
|
2381
|
-
type: 'string',
|
|
2382
|
-
format: 'uri',
|
|
2383
|
-
},
|
|
2384
|
-
name: {
|
|
2385
|
-
type: 'string',
|
|
2386
|
-
},
|
|
2387
|
-
},
|
|
2388
|
-
additionalProperties: false,
|
|
2389
|
-
},
|
|
2390
|
-
repositories: {
|
|
2391
|
-
type: 'object',
|
|
2392
|
-
properties: {
|
|
2393
|
-
href: {
|
|
2394
|
-
type: 'string',
|
|
2395
|
-
format: 'uri',
|
|
2396
|
-
},
|
|
2397
|
-
name: {
|
|
2398
|
-
type: 'string',
|
|
2399
|
-
},
|
|
2400
|
-
},
|
|
2401
|
-
additionalProperties: false,
|
|
2402
|
-
},
|
|
2403
|
-
},
|
|
2404
|
-
additionalProperties: false,
|
|
2405
|
-
},
|
|
2406
|
-
username: {
|
|
2407
|
-
type: 'string',
|
|
2408
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
2409
|
-
},
|
|
2410
|
-
nickname: {
|
|
2411
|
-
type: 'string',
|
|
2412
|
-
description:
|
|
2413
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
2414
|
-
},
|
|
2415
|
-
account_status: {
|
|
2416
|
-
type: 'string',
|
|
2417
|
-
description:
|
|
2418
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
2419
|
-
},
|
|
2420
|
-
display_name: {
|
|
2421
|
-
type: 'string',
|
|
2422
|
-
},
|
|
2423
|
-
website: {
|
|
2424
|
-
type: 'string',
|
|
2425
|
-
},
|
|
2426
|
-
created_on: {
|
|
2427
|
-
type: 'string',
|
|
2428
|
-
format: 'date-time',
|
|
2429
|
-
},
|
|
2430
|
-
uuid: {
|
|
2431
|
-
type: 'string',
|
|
2432
|
-
},
|
|
2433
|
-
has_2fa_enabled: {
|
|
2434
|
-
type: 'boolean',
|
|
2435
|
-
},
|
|
2436
|
-
},
|
|
2437
|
-
additionalProperties: true,
|
|
2438
|
-
},
|
|
2439
|
-
{
|
|
2440
|
-
type: 'object',
|
|
2441
|
-
description: 'A team object.',
|
|
2442
|
-
properties: {},
|
|
2443
|
-
additionalProperties: true,
|
|
2444
|
-
},
|
|
2445
|
-
],
|
|
2446
|
-
},
|
|
2447
|
-
name: {
|
|
2448
|
-
type: 'string',
|
|
2449
|
-
description: 'The name of the project.',
|
|
2450
|
-
},
|
|
2451
|
-
description: {
|
|
2452
|
-
type: 'string',
|
|
2453
|
-
},
|
|
2454
|
-
is_private: {
|
|
2455
|
-
type: 'boolean',
|
|
2456
|
-
description:
|
|
2457
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
2458
|
-
},
|
|
2459
|
-
created_on: {
|
|
2460
|
-
type: 'string',
|
|
2461
|
-
format: 'date-time',
|
|
2462
|
-
},
|
|
2463
|
-
updated_on: {
|
|
2464
|
-
type: 'string',
|
|
2465
|
-
format: 'date-time',
|
|
2466
|
-
},
|
|
2467
|
-
},
|
|
2468
|
-
additionalProperties: true,
|
|
2469
|
-
},
|
|
2470
|
-
],
|
|
2471
|
-
},
|
|
2472
|
-
minItems: 0,
|
|
2473
|
-
uniqueItems: true,
|
|
2474
|
-
},
|
|
2475
|
-
},
|
|
2476
|
-
additionalProperties: false,
|
|
2477
|
-
},
|
|
2478
|
-
],
|
|
2479
|
-
type: 'object',
|
|
2480
|
-
},
|
|
2481
|
-
dsfg: {
|
|
2482
|
-
allOf: [
|
|
2483
|
-
{
|
|
2484
|
-
allOf: [
|
|
2485
|
-
{
|
|
2486
|
-
title: 'Todo Partial',
|
|
2487
|
-
type: 'object',
|
|
2488
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
2489
|
-
required: ['name', 'completed'],
|
|
2490
|
-
},
|
|
2491
|
-
{
|
|
2492
|
-
type: 'object',
|
|
2493
|
-
properties: {
|
|
2494
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
2495
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
2496
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
2497
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
2498
|
-
user: {
|
|
2499
|
-
title: 'User',
|
|
2500
|
-
type: 'object',
|
|
2501
|
-
properties: {
|
|
2502
|
-
name: { type: 'string', description: "The user's full name." },
|
|
2503
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
2504
|
-
},
|
|
2505
|
-
required: ['name', 'age'],
|
|
2506
|
-
},
|
|
2507
|
-
},
|
|
2508
|
-
required: ['id', 'user'],
|
|
2509
|
-
},
|
|
2510
|
-
{
|
|
2511
|
-
type: 'object',
|
|
2512
|
-
description: 'A paginated list of projects',
|
|
2513
|
-
properties: {
|
|
2514
|
-
size: {
|
|
2515
|
-
type: 'integer',
|
|
2516
|
-
description:
|
|
2517
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
2518
|
-
minimum: 0,
|
|
2519
|
-
},
|
|
2520
|
-
page: {
|
|
2521
|
-
type: 'integer',
|
|
2522
|
-
description:
|
|
2523
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
2524
|
-
minimum: 1,
|
|
2525
|
-
},
|
|
2526
|
-
pagelen: {
|
|
2527
|
-
type: 'integer',
|
|
2528
|
-
description:
|
|
2529
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
2530
|
-
minimum: 1,
|
|
2531
|
-
},
|
|
2532
|
-
next: {
|
|
2533
|
-
type: 'string',
|
|
2534
|
-
description:
|
|
2535
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
2536
|
-
format: 'uri',
|
|
2537
|
-
},
|
|
2538
|
-
previous: {
|
|
2539
|
-
type: 'string',
|
|
2540
|
-
description:
|
|
2541
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
2542
|
-
format: 'uri',
|
|
2543
|
-
},
|
|
2544
|
-
values: {
|
|
2545
|
-
type: 'array',
|
|
2546
|
-
items: {
|
|
2547
|
-
allOf: [
|
|
2548
|
-
{
|
|
2549
|
-
type: 'object',
|
|
2550
|
-
description:
|
|
2551
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
2552
|
-
properties: {
|
|
2553
|
-
type: {
|
|
2554
|
-
type: 'string',
|
|
2555
|
-
},
|
|
2556
|
-
},
|
|
2557
|
-
required: ['type'],
|
|
2558
|
-
additionalProperties: true,
|
|
2559
|
-
},
|
|
2560
|
-
{
|
|
2561
|
-
type: 'object',
|
|
2562
|
-
description:
|
|
2563
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
2564
|
-
properties: {
|
|
2565
|
-
links: {
|
|
2566
|
-
type: 'object',
|
|
2567
|
-
properties: {
|
|
2568
|
-
html: {
|
|
2569
|
-
type: 'object',
|
|
2570
|
-
properties: {
|
|
2571
|
-
href: {
|
|
2572
|
-
type: 'string',
|
|
2573
|
-
format: 'uri',
|
|
2574
|
-
},
|
|
2575
|
-
name: {
|
|
2576
|
-
type: 'string',
|
|
2577
|
-
},
|
|
2578
|
-
},
|
|
2579
|
-
additionalProperties: false,
|
|
2580
|
-
},
|
|
2581
|
-
avatar: {
|
|
2582
|
-
type: 'object',
|
|
2583
|
-
properties: {
|
|
2584
|
-
href: {
|
|
2585
|
-
type: 'string',
|
|
2586
|
-
format: 'uri',
|
|
2587
|
-
},
|
|
2588
|
-
name: {
|
|
2589
|
-
type: 'string',
|
|
2590
|
-
},
|
|
2591
|
-
},
|
|
2592
|
-
additionalProperties: false,
|
|
2593
|
-
},
|
|
2594
|
-
},
|
|
2595
|
-
additionalProperties: false,
|
|
2596
|
-
},
|
|
2597
|
-
uuid: {
|
|
2598
|
-
type: 'string',
|
|
2599
|
-
description: "The project's immutable id.",
|
|
2600
|
-
},
|
|
2601
|
-
key: {
|
|
2602
|
-
type: 'string',
|
|
2603
|
-
description: "The project's key.",
|
|
2604
|
-
},
|
|
2605
|
-
owner: {
|
|
2606
|
-
allOf: [
|
|
2607
|
-
{
|
|
2608
|
-
type: 'object',
|
|
2609
|
-
description:
|
|
2610
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
2611
|
-
properties: {
|
|
2612
|
-
type: {
|
|
2613
|
-
type: 'string',
|
|
2614
|
-
},
|
|
2615
|
-
},
|
|
2616
|
-
required: ['type'],
|
|
2617
|
-
additionalProperties: true,
|
|
2618
|
-
},
|
|
2619
|
-
{
|
|
2620
|
-
type: 'object',
|
|
2621
|
-
description: 'An account object.',
|
|
2622
|
-
properties: {
|
|
2623
|
-
links: {
|
|
2624
|
-
type: 'object',
|
|
2625
|
-
properties: {
|
|
2626
|
-
self: {
|
|
2627
|
-
type: 'object',
|
|
2628
|
-
properties: {
|
|
2629
|
-
href: {
|
|
2630
|
-
type: 'string',
|
|
2631
|
-
format: 'uri',
|
|
2632
|
-
},
|
|
2633
|
-
name: {
|
|
2634
|
-
type: 'string',
|
|
2635
|
-
},
|
|
2636
|
-
},
|
|
2637
|
-
additionalProperties: false,
|
|
2638
|
-
},
|
|
2639
|
-
html: {
|
|
2640
|
-
type: 'object',
|
|
2641
|
-
properties: {
|
|
2642
|
-
href: {
|
|
2643
|
-
type: 'string',
|
|
2644
|
-
format: 'uri',
|
|
2645
|
-
},
|
|
2646
|
-
name: {
|
|
2647
|
-
type: 'string',
|
|
2648
|
-
},
|
|
2649
|
-
},
|
|
2650
|
-
additionalProperties: false,
|
|
2651
|
-
},
|
|
2652
|
-
avatar: {
|
|
2653
|
-
type: 'object',
|
|
2654
|
-
properties: {
|
|
2655
|
-
href: {
|
|
2656
|
-
type: 'string',
|
|
2657
|
-
format: 'uri',
|
|
2658
|
-
},
|
|
2659
|
-
name: {
|
|
2660
|
-
type: 'string',
|
|
2661
|
-
},
|
|
2662
|
-
},
|
|
2663
|
-
additionalProperties: false,
|
|
2664
|
-
},
|
|
2665
|
-
followers: {
|
|
2666
|
-
type: 'object',
|
|
2667
|
-
properties: {
|
|
2668
|
-
href: {
|
|
2669
|
-
type: 'string',
|
|
2670
|
-
format: 'uri',
|
|
2671
|
-
},
|
|
2672
|
-
name: {
|
|
2673
|
-
type: 'string',
|
|
2674
|
-
},
|
|
2675
|
-
},
|
|
2676
|
-
additionalProperties: false,
|
|
2677
|
-
},
|
|
2678
|
-
following: {
|
|
2679
|
-
type: 'object',
|
|
2680
|
-
properties: {
|
|
2681
|
-
href: {
|
|
2682
|
-
type: 'string',
|
|
2683
|
-
format: 'uri',
|
|
2684
|
-
},
|
|
2685
|
-
name: {
|
|
2686
|
-
type: 'string',
|
|
2687
|
-
},
|
|
2688
|
-
},
|
|
2689
|
-
additionalProperties: false,
|
|
2690
|
-
},
|
|
2691
|
-
repositories: {
|
|
2692
|
-
type: 'object',
|
|
2693
|
-
properties: {
|
|
2694
|
-
href: {
|
|
2695
|
-
type: 'string',
|
|
2696
|
-
format: 'uri',
|
|
2697
|
-
},
|
|
2698
|
-
name: {
|
|
2699
|
-
type: 'string',
|
|
2700
|
-
},
|
|
2701
|
-
},
|
|
2702
|
-
additionalProperties: false,
|
|
2703
|
-
},
|
|
2704
|
-
},
|
|
2705
|
-
additionalProperties: false,
|
|
2706
|
-
},
|
|
2707
|
-
username: {
|
|
2708
|
-
type: 'string',
|
|
2709
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
2710
|
-
},
|
|
2711
|
-
nickname: {
|
|
2712
|
-
type: 'string',
|
|
2713
|
-
description:
|
|
2714
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
2715
|
-
},
|
|
2716
|
-
account_status: {
|
|
2717
|
-
type: 'string',
|
|
2718
|
-
description:
|
|
2719
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
2720
|
-
},
|
|
2721
|
-
display_name: {
|
|
2722
|
-
type: 'string',
|
|
2723
|
-
},
|
|
2724
|
-
website: {
|
|
2725
|
-
type: 'string',
|
|
2726
|
-
},
|
|
2727
|
-
created_on: {
|
|
2728
|
-
type: 'string',
|
|
2729
|
-
format: 'date-time',
|
|
2730
|
-
},
|
|
2731
|
-
uuid: {
|
|
2732
|
-
type: 'string',
|
|
2733
|
-
},
|
|
2734
|
-
has_2fa_enabled: {
|
|
2735
|
-
type: 'boolean',
|
|
2736
|
-
},
|
|
2737
|
-
},
|
|
2738
|
-
additionalProperties: true,
|
|
2739
|
-
},
|
|
2740
|
-
{
|
|
2741
|
-
type: 'object',
|
|
2742
|
-
description: 'A team object.',
|
|
2743
|
-
properties: {},
|
|
2744
|
-
additionalProperties: true,
|
|
2745
|
-
},
|
|
2746
|
-
],
|
|
2747
|
-
},
|
|
2748
|
-
name: {
|
|
2749
|
-
type: 'string',
|
|
2750
|
-
description: 'The name of the project.',
|
|
2751
|
-
},
|
|
2752
|
-
description: {
|
|
2753
|
-
type: 'string',
|
|
2754
|
-
},
|
|
2755
|
-
is_private: {
|
|
2756
|
-
type: 'boolean',
|
|
2757
|
-
description:
|
|
2758
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
2759
|
-
},
|
|
2760
|
-
created_on: {
|
|
2761
|
-
type: 'string',
|
|
2762
|
-
format: 'date-time',
|
|
2763
|
-
},
|
|
2764
|
-
updated_on: {
|
|
2765
|
-
type: 'string',
|
|
2766
|
-
format: 'date-time',
|
|
2767
|
-
},
|
|
2768
|
-
},
|
|
2769
|
-
additionalProperties: true,
|
|
2770
|
-
},
|
|
2771
|
-
],
|
|
2772
|
-
},
|
|
2773
|
-
minItems: 0,
|
|
2774
|
-
uniqueItems: true,
|
|
2775
|
-
},
|
|
2776
|
-
},
|
|
2777
|
-
additionalProperties: false,
|
|
2778
|
-
},
|
|
2779
|
-
],
|
|
2780
|
-
type: 'object',
|
|
2781
|
-
},
|
|
2782
|
-
{
|
|
2783
|
-
type: 'object',
|
|
2784
|
-
properties: {
|
|
2785
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
2786
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
2787
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
2788
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
2789
|
-
user: {
|
|
2790
|
-
title: 'User',
|
|
2791
|
-
type: 'object',
|
|
2792
|
-
properties: {
|
|
2793
|
-
name: { type: 'string', description: "The user's full name." },
|
|
2794
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
2795
|
-
},
|
|
2796
|
-
required: ['name', 'age'],
|
|
2797
|
-
},
|
|
2798
|
-
},
|
|
2799
|
-
required: ['id', 'user'],
|
|
2800
|
-
},
|
|
2801
|
-
{
|
|
2802
|
-
allOf: [
|
|
2803
|
-
{
|
|
2804
|
-
title: 'Todo Partial',
|
|
2805
|
-
type: 'object',
|
|
2806
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
2807
|
-
required: ['name', 'completed'],
|
|
2808
|
-
},
|
|
2809
|
-
{
|
|
2810
|
-
type: 'object',
|
|
2811
|
-
properties: {
|
|
2812
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
2813
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
2814
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
2815
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
2816
|
-
user: {
|
|
2817
|
-
title: 'User',
|
|
2818
|
-
type: 'object',
|
|
2819
|
-
properties: {
|
|
2820
|
-
name: { type: 'string', description: "The user's full name." },
|
|
2821
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
2822
|
-
},
|
|
2823
|
-
required: ['name', 'age'],
|
|
2824
|
-
},
|
|
2825
|
-
},
|
|
2826
|
-
required: ['id', 'user'],
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
type: 'object',
|
|
2830
|
-
description: 'A paginated list of projects',
|
|
2831
|
-
properties: {
|
|
2832
|
-
size: {
|
|
2833
|
-
type: 'integer',
|
|
2834
|
-
description:
|
|
2835
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
2836
|
-
minimum: 0,
|
|
2837
|
-
},
|
|
2838
|
-
page: {
|
|
2839
|
-
type: 'integer',
|
|
2840
|
-
description:
|
|
2841
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
2842
|
-
minimum: 1,
|
|
2843
|
-
},
|
|
2844
|
-
pagelen: {
|
|
2845
|
-
type: 'integer',
|
|
2846
|
-
description:
|
|
2847
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
2848
|
-
minimum: 1,
|
|
2849
|
-
},
|
|
2850
|
-
next: {
|
|
2851
|
-
type: 'string',
|
|
2852
|
-
description:
|
|
2853
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
2854
|
-
format: 'uri',
|
|
2855
|
-
},
|
|
2856
|
-
previous: {
|
|
2857
|
-
type: 'string',
|
|
2858
|
-
description:
|
|
2859
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
2860
|
-
format: 'uri',
|
|
2861
|
-
},
|
|
2862
|
-
values: {
|
|
2863
|
-
type: 'array',
|
|
2864
|
-
items: {
|
|
2865
|
-
allOf: [
|
|
2866
|
-
{
|
|
2867
|
-
type: 'object',
|
|
2868
|
-
description:
|
|
2869
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
2870
|
-
properties: {
|
|
2871
|
-
type: {
|
|
2872
|
-
type: 'string',
|
|
2873
|
-
},
|
|
2874
|
-
},
|
|
2875
|
-
required: ['type'],
|
|
2876
|
-
additionalProperties: true,
|
|
2877
|
-
},
|
|
2878
|
-
{
|
|
2879
|
-
type: 'object',
|
|
2880
|
-
description:
|
|
2881
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
2882
|
-
properties: {
|
|
2883
|
-
links: {
|
|
2884
|
-
type: 'object',
|
|
2885
|
-
properties: {
|
|
2886
|
-
html: {
|
|
2887
|
-
type: 'object',
|
|
2888
|
-
properties: {
|
|
2889
|
-
href: {
|
|
2890
|
-
type: 'string',
|
|
2891
|
-
format: 'uri',
|
|
2892
|
-
},
|
|
2893
|
-
name: {
|
|
2894
|
-
type: 'string',
|
|
2895
|
-
},
|
|
2896
|
-
},
|
|
2897
|
-
additionalProperties: false,
|
|
2898
|
-
},
|
|
2899
|
-
avatar: {
|
|
2900
|
-
type: 'object',
|
|
2901
|
-
properties: {
|
|
2902
|
-
href: {
|
|
2903
|
-
type: 'string',
|
|
2904
|
-
format: 'uri',
|
|
2905
|
-
},
|
|
2906
|
-
name: {
|
|
2907
|
-
type: 'string',
|
|
2908
|
-
},
|
|
2909
|
-
},
|
|
2910
|
-
additionalProperties: false,
|
|
2911
|
-
},
|
|
2912
|
-
},
|
|
2913
|
-
additionalProperties: false,
|
|
2914
|
-
},
|
|
2915
|
-
uuid: {
|
|
2916
|
-
type: 'string',
|
|
2917
|
-
description: "The project's immutable id.",
|
|
2918
|
-
},
|
|
2919
|
-
key: {
|
|
2920
|
-
type: 'string',
|
|
2921
|
-
description: "The project's key.",
|
|
2922
|
-
},
|
|
2923
|
-
owner: {
|
|
2924
|
-
allOf: [
|
|
2925
|
-
{
|
|
2926
|
-
type: 'object',
|
|
2927
|
-
description:
|
|
2928
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
2929
|
-
properties: {
|
|
2930
|
-
type: {
|
|
2931
|
-
type: 'string',
|
|
2932
|
-
},
|
|
2933
|
-
},
|
|
2934
|
-
required: ['type'],
|
|
2935
|
-
additionalProperties: true,
|
|
2936
|
-
},
|
|
2937
|
-
{
|
|
2938
|
-
type: 'object',
|
|
2939
|
-
description: 'An account object.',
|
|
2940
|
-
properties: {
|
|
2941
|
-
links: {
|
|
2942
|
-
type: 'object',
|
|
2943
|
-
properties: {
|
|
2944
|
-
self: {
|
|
2945
|
-
type: 'object',
|
|
2946
|
-
properties: {
|
|
2947
|
-
href: {
|
|
2948
|
-
type: 'string',
|
|
2949
|
-
format: 'uri',
|
|
2950
|
-
},
|
|
2951
|
-
name: {
|
|
2952
|
-
type: 'string',
|
|
2953
|
-
},
|
|
2954
|
-
},
|
|
2955
|
-
additionalProperties: false,
|
|
2956
|
-
},
|
|
2957
|
-
html: {
|
|
2958
|
-
type: 'object',
|
|
2959
|
-
properties: {
|
|
2960
|
-
href: {
|
|
2961
|
-
type: 'string',
|
|
2962
|
-
format: 'uri',
|
|
2963
|
-
},
|
|
2964
|
-
name: {
|
|
2965
|
-
type: 'string',
|
|
2966
|
-
},
|
|
2967
|
-
},
|
|
2968
|
-
additionalProperties: false,
|
|
2969
|
-
},
|
|
2970
|
-
avatar: {
|
|
2971
|
-
type: 'object',
|
|
2972
|
-
properties: {
|
|
2973
|
-
href: {
|
|
2974
|
-
type: 'string',
|
|
2975
|
-
format: 'uri',
|
|
2976
|
-
},
|
|
2977
|
-
name: {
|
|
2978
|
-
type: 'string',
|
|
2979
|
-
},
|
|
2980
|
-
},
|
|
2981
|
-
additionalProperties: false,
|
|
2982
|
-
},
|
|
2983
|
-
followers: {
|
|
2984
|
-
type: 'object',
|
|
2985
|
-
properties: {
|
|
2986
|
-
href: {
|
|
2987
|
-
type: 'string',
|
|
2988
|
-
format: 'uri',
|
|
2989
|
-
},
|
|
2990
|
-
name: {
|
|
2991
|
-
type: 'string',
|
|
2992
|
-
},
|
|
2993
|
-
},
|
|
2994
|
-
additionalProperties: false,
|
|
2995
|
-
},
|
|
2996
|
-
following: {
|
|
2997
|
-
type: 'object',
|
|
2998
|
-
properties: {
|
|
2999
|
-
href: {
|
|
3000
|
-
type: 'string',
|
|
3001
|
-
format: 'uri',
|
|
3002
|
-
},
|
|
3003
|
-
name: {
|
|
3004
|
-
type: 'string',
|
|
3005
|
-
},
|
|
3006
|
-
},
|
|
3007
|
-
additionalProperties: false,
|
|
3008
|
-
},
|
|
3009
|
-
repositories: {
|
|
3010
|
-
type: 'object',
|
|
3011
|
-
properties: {
|
|
3012
|
-
href: {
|
|
3013
|
-
type: 'string',
|
|
3014
|
-
format: 'uri',
|
|
3015
|
-
},
|
|
3016
|
-
name: {
|
|
3017
|
-
type: 'string',
|
|
3018
|
-
},
|
|
3019
|
-
},
|
|
3020
|
-
additionalProperties: false,
|
|
3021
|
-
},
|
|
3022
|
-
},
|
|
3023
|
-
additionalProperties: false,
|
|
3024
|
-
},
|
|
3025
|
-
username: {
|
|
3026
|
-
type: 'string',
|
|
3027
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
3028
|
-
},
|
|
3029
|
-
nickname: {
|
|
3030
|
-
type: 'string',
|
|
3031
|
-
description:
|
|
3032
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
3033
|
-
},
|
|
3034
|
-
account_status: {
|
|
3035
|
-
type: 'string',
|
|
3036
|
-
description:
|
|
3037
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
3038
|
-
},
|
|
3039
|
-
display_name: {
|
|
3040
|
-
type: 'string',
|
|
3041
|
-
},
|
|
3042
|
-
website: {
|
|
3043
|
-
type: 'string',
|
|
3044
|
-
},
|
|
3045
|
-
created_on: {
|
|
3046
|
-
type: 'string',
|
|
3047
|
-
format: 'date-time',
|
|
3048
|
-
},
|
|
3049
|
-
uuid: {
|
|
3050
|
-
type: 'string',
|
|
3051
|
-
},
|
|
3052
|
-
has_2fa_enabled: {
|
|
3053
|
-
type: 'boolean',
|
|
3054
|
-
},
|
|
3055
|
-
},
|
|
3056
|
-
additionalProperties: true,
|
|
3057
|
-
},
|
|
3058
|
-
{
|
|
3059
|
-
type: 'object',
|
|
3060
|
-
description: 'A team object.',
|
|
3061
|
-
properties: {},
|
|
3062
|
-
additionalProperties: true,
|
|
3063
|
-
},
|
|
3064
|
-
],
|
|
3065
|
-
},
|
|
3066
|
-
name: {
|
|
3067
|
-
type: 'string',
|
|
3068
|
-
description: 'The name of the project.',
|
|
3069
|
-
},
|
|
3070
|
-
description: {
|
|
3071
|
-
type: 'string',
|
|
3072
|
-
},
|
|
3073
|
-
is_private: {
|
|
3074
|
-
type: 'boolean',
|
|
3075
|
-
description:
|
|
3076
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
3077
|
-
},
|
|
3078
|
-
created_on: {
|
|
3079
|
-
type: 'string',
|
|
3080
|
-
format: 'date-time',
|
|
3081
|
-
},
|
|
3082
|
-
updated_on: {
|
|
3083
|
-
type: 'string',
|
|
3084
|
-
format: 'date-time',
|
|
3085
|
-
},
|
|
3086
|
-
},
|
|
3087
|
-
additionalProperties: true,
|
|
3088
|
-
},
|
|
3089
|
-
],
|
|
3090
|
-
},
|
|
3091
|
-
minItems: 0,
|
|
3092
|
-
uniqueItems: true,
|
|
3093
|
-
},
|
|
3094
|
-
},
|
|
3095
|
-
additionalProperties: false,
|
|
3096
|
-
},
|
|
3097
|
-
],
|
|
3098
|
-
type: 'object',
|
|
3099
|
-
},
|
|
3100
|
-
],
|
|
3101
|
-
type: 'object',
|
|
3102
|
-
},
|
|
3103
|
-
},
|
|
3104
|
-
},
|
|
3105
|
-
],
|
|
3106
|
-
type: 'object',
|
|
3107
|
-
},
|
|
3108
|
-
},
|
|
3109
|
-
title: 'Todo Full',
|
|
3110
|
-
allOf: [
|
|
3111
|
-
{
|
|
3112
|
-
title: 'Todo Partial',
|
|
3113
|
-
type: 'object',
|
|
3114
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
3115
|
-
required: ['name', 'completed'],
|
|
3116
|
-
},
|
|
3117
|
-
{
|
|
3118
|
-
type: 'object',
|
|
3119
|
-
properties: {
|
|
3120
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
3121
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
3122
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
3123
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
3124
|
-
user: {
|
|
3125
|
-
title: 'User',
|
|
3126
|
-
type: 'object',
|
|
3127
|
-
properties: {
|
|
3128
|
-
name: { type: 'string', description: "The user's full name." },
|
|
3129
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
3130
|
-
},
|
|
3131
|
-
required: ['name', 'age'],
|
|
3132
|
-
},
|
|
3133
|
-
},
|
|
3134
|
-
required: ['id', 'user'],
|
|
3135
|
-
},
|
|
3136
|
-
{
|
|
3137
|
-
type: 'object',
|
|
3138
|
-
description: 'A paginated list of projects',
|
|
3139
|
-
properties: {
|
|
3140
|
-
size: {
|
|
3141
|
-
type: 'integer',
|
|
3142
|
-
description:
|
|
3143
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
3144
|
-
minimum: 0,
|
|
3145
|
-
},
|
|
3146
|
-
page: {
|
|
3147
|
-
type: 'integer',
|
|
3148
|
-
description:
|
|
3149
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
3150
|
-
minimum: 1,
|
|
3151
|
-
},
|
|
3152
|
-
pagelen: {
|
|
3153
|
-
type: 'integer',
|
|
3154
|
-
description:
|
|
3155
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
3156
|
-
minimum: 1,
|
|
3157
|
-
},
|
|
3158
|
-
next: {
|
|
3159
|
-
type: 'string',
|
|
3160
|
-
description:
|
|
3161
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
3162
|
-
format: 'uri',
|
|
3163
|
-
},
|
|
3164
|
-
previous: {
|
|
3165
|
-
type: 'string',
|
|
3166
|
-
description:
|
|
3167
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
3168
|
-
format: 'uri',
|
|
3169
|
-
},
|
|
3170
|
-
values: {
|
|
3171
|
-
type: 'array',
|
|
3172
|
-
items: {
|
|
3173
|
-
allOf: [
|
|
3174
|
-
{
|
|
3175
|
-
type: 'object',
|
|
3176
|
-
description:
|
|
3177
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
3178
|
-
properties: {
|
|
3179
|
-
type: {
|
|
3180
|
-
type: 'string',
|
|
3181
|
-
},
|
|
3182
|
-
},
|
|
3183
|
-
required: ['type'],
|
|
3184
|
-
additionalProperties: true,
|
|
3185
|
-
},
|
|
3186
|
-
{
|
|
3187
|
-
type: 'object',
|
|
3188
|
-
description:
|
|
3189
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
3190
|
-
properties: {
|
|
3191
|
-
links: {
|
|
3192
|
-
type: 'object',
|
|
3193
|
-
properties: {
|
|
3194
|
-
html: {
|
|
3195
|
-
type: 'object',
|
|
3196
|
-
properties: {
|
|
3197
|
-
href: {
|
|
3198
|
-
type: 'string',
|
|
3199
|
-
format: 'uri',
|
|
3200
|
-
},
|
|
3201
|
-
name: {
|
|
3202
|
-
type: 'string',
|
|
3203
|
-
},
|
|
3204
|
-
},
|
|
3205
|
-
additionalProperties: false,
|
|
3206
|
-
},
|
|
3207
|
-
avatar: {
|
|
3208
|
-
type: 'object',
|
|
3209
|
-
properties: {
|
|
3210
|
-
href: {
|
|
3211
|
-
type: 'string',
|
|
3212
|
-
format: 'uri',
|
|
3213
|
-
},
|
|
3214
|
-
name: {
|
|
3215
|
-
type: 'string',
|
|
3216
|
-
},
|
|
3217
|
-
},
|
|
3218
|
-
additionalProperties: false,
|
|
3219
|
-
},
|
|
3220
|
-
},
|
|
3221
|
-
additionalProperties: false,
|
|
3222
|
-
},
|
|
3223
|
-
uuid: {
|
|
3224
|
-
type: 'string',
|
|
3225
|
-
description: "The project's immutable id.",
|
|
3226
|
-
},
|
|
3227
|
-
key: {
|
|
3228
|
-
type: 'string',
|
|
3229
|
-
description: "The project's key.",
|
|
3230
|
-
},
|
|
3231
|
-
owner: {
|
|
3232
|
-
allOf: [
|
|
3233
|
-
{
|
|
3234
|
-
type: 'object',
|
|
3235
|
-
description:
|
|
3236
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
3237
|
-
properties: {
|
|
3238
|
-
type: {
|
|
3239
|
-
type: 'string',
|
|
3240
|
-
},
|
|
3241
|
-
},
|
|
3242
|
-
required: ['type'],
|
|
3243
|
-
additionalProperties: true,
|
|
3244
|
-
},
|
|
3245
|
-
{
|
|
3246
|
-
type: 'object',
|
|
3247
|
-
description: 'An account object.',
|
|
3248
|
-
properties: {
|
|
3249
|
-
links: {
|
|
3250
|
-
type: 'object',
|
|
3251
|
-
properties: {
|
|
3252
|
-
self: {
|
|
3253
|
-
type: 'object',
|
|
3254
|
-
properties: {
|
|
3255
|
-
href: {
|
|
3256
|
-
type: 'string',
|
|
3257
|
-
format: 'uri',
|
|
3258
|
-
},
|
|
3259
|
-
name: {
|
|
3260
|
-
type: 'string',
|
|
3261
|
-
},
|
|
3262
|
-
},
|
|
3263
|
-
additionalProperties: false,
|
|
3264
|
-
},
|
|
3265
|
-
html: {
|
|
3266
|
-
type: 'object',
|
|
3267
|
-
properties: {
|
|
3268
|
-
href: {
|
|
3269
|
-
type: 'string',
|
|
3270
|
-
format: 'uri',
|
|
3271
|
-
},
|
|
3272
|
-
name: {
|
|
3273
|
-
type: 'string',
|
|
3274
|
-
},
|
|
3275
|
-
},
|
|
3276
|
-
additionalProperties: false,
|
|
3277
|
-
},
|
|
3278
|
-
avatar: {
|
|
3279
|
-
type: 'object',
|
|
3280
|
-
properties: {
|
|
3281
|
-
href: {
|
|
3282
|
-
type: 'string',
|
|
3283
|
-
format: 'uri',
|
|
3284
|
-
},
|
|
3285
|
-
name: {
|
|
3286
|
-
type: 'string',
|
|
3287
|
-
},
|
|
3288
|
-
},
|
|
3289
|
-
additionalProperties: false,
|
|
3290
|
-
},
|
|
3291
|
-
followers: {
|
|
3292
|
-
type: 'object',
|
|
3293
|
-
properties: {
|
|
3294
|
-
href: {
|
|
3295
|
-
type: 'string',
|
|
3296
|
-
format: 'uri',
|
|
3297
|
-
},
|
|
3298
|
-
name: {
|
|
3299
|
-
type: 'string',
|
|
3300
|
-
},
|
|
3301
|
-
},
|
|
3302
|
-
additionalProperties: false,
|
|
3303
|
-
},
|
|
3304
|
-
following: {
|
|
3305
|
-
type: 'object',
|
|
3306
|
-
properties: {
|
|
3307
|
-
href: {
|
|
3308
|
-
type: 'string',
|
|
3309
|
-
format: 'uri',
|
|
3310
|
-
},
|
|
3311
|
-
name: {
|
|
3312
|
-
type: 'string',
|
|
3313
|
-
},
|
|
3314
|
-
},
|
|
3315
|
-
additionalProperties: false,
|
|
3316
|
-
},
|
|
3317
|
-
repositories: {
|
|
3318
|
-
type: 'object',
|
|
3319
|
-
properties: {
|
|
3320
|
-
href: {
|
|
3321
|
-
type: 'string',
|
|
3322
|
-
format: 'uri',
|
|
3323
|
-
},
|
|
3324
|
-
name: {
|
|
3325
|
-
type: 'string',
|
|
3326
|
-
},
|
|
3327
|
-
},
|
|
3328
|
-
additionalProperties: false,
|
|
3329
|
-
},
|
|
3330
|
-
},
|
|
3331
|
-
additionalProperties: false,
|
|
3332
|
-
},
|
|
3333
|
-
username: {
|
|
3334
|
-
type: 'string',
|
|
3335
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
3336
|
-
},
|
|
3337
|
-
nickname: {
|
|
3338
|
-
type: 'string',
|
|
3339
|
-
description:
|
|
3340
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
3341
|
-
},
|
|
3342
|
-
account_status: {
|
|
3343
|
-
type: 'string',
|
|
3344
|
-
description:
|
|
3345
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
3346
|
-
},
|
|
3347
|
-
display_name: {
|
|
3348
|
-
type: 'string',
|
|
3349
|
-
},
|
|
3350
|
-
website: {
|
|
3351
|
-
type: 'string',
|
|
3352
|
-
},
|
|
3353
|
-
created_on: {
|
|
3354
|
-
type: 'string',
|
|
3355
|
-
format: 'date-time',
|
|
3356
|
-
},
|
|
3357
|
-
uuid: {
|
|
3358
|
-
type: 'string',
|
|
3359
|
-
},
|
|
3360
|
-
has_2fa_enabled: {
|
|
3361
|
-
type: 'boolean',
|
|
3362
|
-
},
|
|
3363
|
-
},
|
|
3364
|
-
additionalProperties: true,
|
|
3365
|
-
},
|
|
3366
|
-
{
|
|
3367
|
-
type: 'object',
|
|
3368
|
-
description: 'A team object.',
|
|
3369
|
-
properties: {},
|
|
3370
|
-
additionalProperties: true,
|
|
3371
|
-
},
|
|
3372
|
-
],
|
|
3373
|
-
},
|
|
3374
|
-
name: {
|
|
3375
|
-
type: 'string',
|
|
3376
|
-
description: 'The name of the project.',
|
|
3377
|
-
},
|
|
3378
|
-
description: {
|
|
3379
|
-
type: 'string',
|
|
3380
|
-
},
|
|
3381
|
-
is_private: {
|
|
3382
|
-
type: 'boolean',
|
|
3383
|
-
description:
|
|
3384
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
3385
|
-
},
|
|
3386
|
-
created_on: {
|
|
3387
|
-
type: 'string',
|
|
3388
|
-
format: 'date-time',
|
|
3389
|
-
},
|
|
3390
|
-
updated_on: {
|
|
3391
|
-
type: 'string',
|
|
3392
|
-
format: 'date-time',
|
|
3393
|
-
},
|
|
3394
|
-
},
|
|
3395
|
-
additionalProperties: true,
|
|
3396
|
-
},
|
|
3397
|
-
],
|
|
3398
|
-
},
|
|
3399
|
-
minItems: 0,
|
|
3400
|
-
uniqueItems: true,
|
|
3401
|
-
},
|
|
3402
|
-
},
|
|
3403
|
-
additionalProperties: false,
|
|
3404
|
-
},
|
|
3405
|
-
{
|
|
3406
|
-
title: 'asdf',
|
|
3407
|
-
type: 'object',
|
|
3408
|
-
properties: {
|
|
3409
|
-
id: {
|
|
3410
|
-
allOf: [
|
|
3411
|
-
{
|
|
3412
|
-
title: 'Todo Partial',
|
|
3413
|
-
type: 'object',
|
|
3414
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
3415
|
-
required: ['name', 'completed'],
|
|
3416
|
-
},
|
|
3417
|
-
{
|
|
3418
|
-
type: 'object',
|
|
3419
|
-
properties: {
|
|
3420
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
3421
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
3422
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
3423
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
3424
|
-
user: {
|
|
3425
|
-
title: 'User',
|
|
3426
|
-
type: 'object',
|
|
3427
|
-
properties: {
|
|
3428
|
-
name: { type: 'string', description: "The user's full name." },
|
|
3429
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
3430
|
-
},
|
|
3431
|
-
required: ['name', 'age'],
|
|
3432
|
-
},
|
|
3433
|
-
},
|
|
3434
|
-
required: ['id', 'user'],
|
|
3435
|
-
},
|
|
3436
|
-
{
|
|
3437
|
-
type: 'object',
|
|
3438
|
-
description: 'A paginated list of projects',
|
|
3439
|
-
properties: {
|
|
3440
|
-
size: {
|
|
3441
|
-
type: 'integer',
|
|
3442
|
-
description:
|
|
3443
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
3444
|
-
minimum: 0,
|
|
3445
|
-
},
|
|
3446
|
-
page: {
|
|
3447
|
-
type: 'integer',
|
|
3448
|
-
description:
|
|
3449
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
3450
|
-
minimum: 1,
|
|
3451
|
-
},
|
|
3452
|
-
pagelen: {
|
|
3453
|
-
type: 'integer',
|
|
3454
|
-
description:
|
|
3455
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
3456
|
-
minimum: 1,
|
|
3457
|
-
},
|
|
3458
|
-
next: {
|
|
3459
|
-
type: 'string',
|
|
3460
|
-
description:
|
|
3461
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
3462
|
-
format: 'uri',
|
|
3463
|
-
},
|
|
3464
|
-
previous: {
|
|
3465
|
-
type: 'string',
|
|
3466
|
-
description:
|
|
3467
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
3468
|
-
format: 'uri',
|
|
3469
|
-
},
|
|
3470
|
-
values: {
|
|
3471
|
-
type: 'array',
|
|
3472
|
-
items: {
|
|
3473
|
-
allOf: [
|
|
3474
|
-
{
|
|
3475
|
-
type: 'object',
|
|
3476
|
-
description:
|
|
3477
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
3478
|
-
properties: {
|
|
3479
|
-
type: {
|
|
3480
|
-
type: 'string',
|
|
3481
|
-
},
|
|
3482
|
-
},
|
|
3483
|
-
required: ['type'],
|
|
3484
|
-
additionalProperties: true,
|
|
3485
|
-
},
|
|
3486
|
-
{
|
|
3487
|
-
type: 'object',
|
|
3488
|
-
description:
|
|
3489
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
3490
|
-
properties: {
|
|
3491
|
-
links: {
|
|
3492
|
-
type: 'object',
|
|
3493
|
-
properties: {
|
|
3494
|
-
html: {
|
|
3495
|
-
type: 'object',
|
|
3496
|
-
properties: {
|
|
3497
|
-
href: {
|
|
3498
|
-
type: 'string',
|
|
3499
|
-
format: 'uri',
|
|
3500
|
-
},
|
|
3501
|
-
name: {
|
|
3502
|
-
type: 'string',
|
|
3503
|
-
},
|
|
3504
|
-
},
|
|
3505
|
-
additionalProperties: false,
|
|
3506
|
-
},
|
|
3507
|
-
avatar: {
|
|
3508
|
-
type: 'object',
|
|
3509
|
-
properties: {
|
|
3510
|
-
href: {
|
|
3511
|
-
type: 'string',
|
|
3512
|
-
format: 'uri',
|
|
3513
|
-
},
|
|
3514
|
-
name: {
|
|
3515
|
-
type: 'string',
|
|
3516
|
-
},
|
|
3517
|
-
},
|
|
3518
|
-
additionalProperties: false,
|
|
3519
|
-
},
|
|
3520
|
-
},
|
|
3521
|
-
additionalProperties: false,
|
|
3522
|
-
},
|
|
3523
|
-
uuid: {
|
|
3524
|
-
type: 'string',
|
|
3525
|
-
description: "The project's immutable id.",
|
|
3526
|
-
},
|
|
3527
|
-
key: {
|
|
3528
|
-
type: 'string',
|
|
3529
|
-
description: "The project's key.",
|
|
3530
|
-
},
|
|
3531
|
-
owner: {
|
|
3532
|
-
allOf: [
|
|
3533
|
-
{
|
|
3534
|
-
type: 'object',
|
|
3535
|
-
description:
|
|
3536
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
3537
|
-
properties: {
|
|
3538
|
-
type: {
|
|
3539
|
-
type: 'string',
|
|
3540
|
-
},
|
|
3541
|
-
},
|
|
3542
|
-
required: ['type'],
|
|
3543
|
-
additionalProperties: true,
|
|
3544
|
-
},
|
|
3545
|
-
{
|
|
3546
|
-
type: 'object',
|
|
3547
|
-
description: 'An account object.',
|
|
3548
|
-
properties: {
|
|
3549
|
-
links: {
|
|
3550
|
-
type: 'object',
|
|
3551
|
-
properties: {
|
|
3552
|
-
self: {
|
|
3553
|
-
type: 'object',
|
|
3554
|
-
properties: {
|
|
3555
|
-
href: {
|
|
3556
|
-
type: 'string',
|
|
3557
|
-
format: 'uri',
|
|
3558
|
-
},
|
|
3559
|
-
name: {
|
|
3560
|
-
type: 'string',
|
|
3561
|
-
},
|
|
3562
|
-
},
|
|
3563
|
-
additionalProperties: false,
|
|
3564
|
-
},
|
|
3565
|
-
html: {
|
|
3566
|
-
type: 'object',
|
|
3567
|
-
properties: {
|
|
3568
|
-
href: {
|
|
3569
|
-
type: 'string',
|
|
3570
|
-
format: 'uri',
|
|
3571
|
-
},
|
|
3572
|
-
name: {
|
|
3573
|
-
type: 'string',
|
|
3574
|
-
},
|
|
3575
|
-
},
|
|
3576
|
-
additionalProperties: false,
|
|
3577
|
-
},
|
|
3578
|
-
avatar: {
|
|
3579
|
-
type: 'object',
|
|
3580
|
-
properties: {
|
|
3581
|
-
href: {
|
|
3582
|
-
type: 'string',
|
|
3583
|
-
format: 'uri',
|
|
3584
|
-
},
|
|
3585
|
-
name: {
|
|
3586
|
-
type: 'string',
|
|
3587
|
-
},
|
|
3588
|
-
},
|
|
3589
|
-
additionalProperties: false,
|
|
3590
|
-
},
|
|
3591
|
-
followers: {
|
|
3592
|
-
type: 'object',
|
|
3593
|
-
properties: {
|
|
3594
|
-
href: {
|
|
3595
|
-
type: 'string',
|
|
3596
|
-
format: 'uri',
|
|
3597
|
-
},
|
|
3598
|
-
name: {
|
|
3599
|
-
type: 'string',
|
|
3600
|
-
},
|
|
3601
|
-
},
|
|
3602
|
-
additionalProperties: false,
|
|
3603
|
-
},
|
|
3604
|
-
following: {
|
|
3605
|
-
type: 'object',
|
|
3606
|
-
properties: {
|
|
3607
|
-
href: {
|
|
3608
|
-
type: 'string',
|
|
3609
|
-
format: 'uri',
|
|
3610
|
-
},
|
|
3611
|
-
name: {
|
|
3612
|
-
type: 'string',
|
|
3613
|
-
},
|
|
3614
|
-
},
|
|
3615
|
-
additionalProperties: false,
|
|
3616
|
-
},
|
|
3617
|
-
repositories: {
|
|
3618
|
-
type: 'object',
|
|
3619
|
-
properties: {
|
|
3620
|
-
href: {
|
|
3621
|
-
type: 'string',
|
|
3622
|
-
format: 'uri',
|
|
3623
|
-
},
|
|
3624
|
-
name: {
|
|
3625
|
-
type: 'string',
|
|
3626
|
-
},
|
|
3627
|
-
},
|
|
3628
|
-
additionalProperties: false,
|
|
3629
|
-
},
|
|
3630
|
-
},
|
|
3631
|
-
additionalProperties: false,
|
|
3632
|
-
},
|
|
3633
|
-
username: {
|
|
3634
|
-
type: 'string',
|
|
3635
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
3636
|
-
},
|
|
3637
|
-
nickname: {
|
|
3638
|
-
type: 'string',
|
|
3639
|
-
description:
|
|
3640
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
3641
|
-
},
|
|
3642
|
-
account_status: {
|
|
3643
|
-
type: 'string',
|
|
3644
|
-
description:
|
|
3645
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
3646
|
-
},
|
|
3647
|
-
display_name: {
|
|
3648
|
-
type: 'string',
|
|
3649
|
-
},
|
|
3650
|
-
website: {
|
|
3651
|
-
type: 'string',
|
|
3652
|
-
},
|
|
3653
|
-
created_on: {
|
|
3654
|
-
type: 'string',
|
|
3655
|
-
format: 'date-time',
|
|
3656
|
-
},
|
|
3657
|
-
uuid: {
|
|
3658
|
-
type: 'string',
|
|
3659
|
-
},
|
|
3660
|
-
has_2fa_enabled: {
|
|
3661
|
-
type: 'boolean',
|
|
3662
|
-
},
|
|
3663
|
-
},
|
|
3664
|
-
additionalProperties: true,
|
|
3665
|
-
},
|
|
3666
|
-
{
|
|
3667
|
-
type: 'object',
|
|
3668
|
-
description: 'A team object.',
|
|
3669
|
-
properties: {},
|
|
3670
|
-
additionalProperties: true,
|
|
3671
|
-
},
|
|
3672
|
-
],
|
|
3673
|
-
},
|
|
3674
|
-
name: {
|
|
3675
|
-
type: 'string',
|
|
3676
|
-
description: 'The name of the project.',
|
|
3677
|
-
},
|
|
3678
|
-
description: {
|
|
3679
|
-
type: 'string',
|
|
3680
|
-
},
|
|
3681
|
-
is_private: {
|
|
3682
|
-
type: 'boolean',
|
|
3683
|
-
description:
|
|
3684
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
3685
|
-
},
|
|
3686
|
-
created_on: {
|
|
3687
|
-
type: 'string',
|
|
3688
|
-
format: 'date-time',
|
|
3689
|
-
},
|
|
3690
|
-
updated_on: {
|
|
3691
|
-
type: 'string',
|
|
3692
|
-
format: 'date-time',
|
|
3693
|
-
},
|
|
3694
|
-
},
|
|
3695
|
-
additionalProperties: true,
|
|
3696
|
-
},
|
|
3697
|
-
],
|
|
3698
|
-
},
|
|
3699
|
-
minItems: 0,
|
|
3700
|
-
uniqueItems: true,
|
|
3701
|
-
},
|
|
3702
|
-
},
|
|
3703
|
-
additionalProperties: false,
|
|
3704
|
-
},
|
|
3705
|
-
],
|
|
3706
|
-
type: 'object',
|
|
3707
|
-
},
|
|
3708
|
-
lksdfg: {
|
|
3709
|
-
type: 'object',
|
|
3710
|
-
properties: {
|
|
3711
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
3712
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
3713
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
3714
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
3715
|
-
user: {
|
|
3716
|
-
title: 'User',
|
|
3717
|
-
type: 'object',
|
|
3718
|
-
properties: {
|
|
3719
|
-
name: { type: 'string', description: "The user's full name." },
|
|
3720
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
3721
|
-
},
|
|
3722
|
-
required: ['name', 'age'],
|
|
3723
|
-
},
|
|
3724
|
-
},
|
|
3725
|
-
required: ['id', 'user'],
|
|
3726
|
-
},
|
|
3727
|
-
qosf: {
|
|
3728
|
-
allOf: [
|
|
3729
|
-
{
|
|
3730
|
-
title: 'Todo Partial',
|
|
3731
|
-
type: 'object',
|
|
3732
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
3733
|
-
required: ['name', 'completed'],
|
|
3734
|
-
},
|
|
3735
|
-
{
|
|
3736
|
-
type: 'object',
|
|
3737
|
-
properties: {
|
|
3738
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
3739
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
3740
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
3741
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
3742
|
-
user: {
|
|
3743
|
-
title: 'User',
|
|
3744
|
-
type: 'object',
|
|
3745
|
-
properties: {
|
|
3746
|
-
name: { type: 'string', description: "The user's full name." },
|
|
3747
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
3748
|
-
},
|
|
3749
|
-
required: ['name', 'age'],
|
|
3750
|
-
},
|
|
3751
|
-
},
|
|
3752
|
-
required: ['id', 'user'],
|
|
3753
|
-
},
|
|
3754
|
-
{
|
|
3755
|
-
type: 'object',
|
|
3756
|
-
description: 'A paginated list of projects',
|
|
3757
|
-
properties: {
|
|
3758
|
-
size: {
|
|
3759
|
-
type: 'integer',
|
|
3760
|
-
description:
|
|
3761
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
3762
|
-
minimum: 0,
|
|
3763
|
-
},
|
|
3764
|
-
page: {
|
|
3765
|
-
type: 'integer',
|
|
3766
|
-
description:
|
|
3767
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
3768
|
-
minimum: 1,
|
|
3769
|
-
},
|
|
3770
|
-
pagelen: {
|
|
3771
|
-
type: 'integer',
|
|
3772
|
-
description:
|
|
3773
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
3774
|
-
minimum: 1,
|
|
3775
|
-
},
|
|
3776
|
-
next: {
|
|
3777
|
-
type: 'string',
|
|
3778
|
-
description:
|
|
3779
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
3780
|
-
format: 'uri',
|
|
3781
|
-
},
|
|
3782
|
-
previous: {
|
|
3783
|
-
type: 'string',
|
|
3784
|
-
description:
|
|
3785
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
3786
|
-
format: 'uri',
|
|
3787
|
-
},
|
|
3788
|
-
values: {
|
|
3789
|
-
type: 'array',
|
|
3790
|
-
items: {
|
|
3791
|
-
allOf: [
|
|
3792
|
-
{
|
|
3793
|
-
type: 'object',
|
|
3794
|
-
description:
|
|
3795
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
3796
|
-
properties: {
|
|
3797
|
-
type: {
|
|
3798
|
-
type: 'string',
|
|
3799
|
-
},
|
|
3800
|
-
},
|
|
3801
|
-
required: ['type'],
|
|
3802
|
-
additionalProperties: true,
|
|
3803
|
-
},
|
|
3804
|
-
{
|
|
3805
|
-
type: 'object',
|
|
3806
|
-
description:
|
|
3807
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
3808
|
-
properties: {
|
|
3809
|
-
links: {
|
|
3810
|
-
type: 'object',
|
|
3811
|
-
properties: {
|
|
3812
|
-
html: {
|
|
3813
|
-
type: 'object',
|
|
3814
|
-
properties: {
|
|
3815
|
-
href: {
|
|
3816
|
-
type: 'string',
|
|
3817
|
-
format: 'uri',
|
|
3818
|
-
},
|
|
3819
|
-
name: {
|
|
3820
|
-
type: 'string',
|
|
3821
|
-
},
|
|
3822
|
-
},
|
|
3823
|
-
additionalProperties: false,
|
|
3824
|
-
},
|
|
3825
|
-
avatar: {
|
|
3826
|
-
type: 'object',
|
|
3827
|
-
properties: {
|
|
3828
|
-
href: {
|
|
3829
|
-
type: 'string',
|
|
3830
|
-
format: 'uri',
|
|
3831
|
-
},
|
|
3832
|
-
name: {
|
|
3833
|
-
type: 'string',
|
|
3834
|
-
},
|
|
3835
|
-
},
|
|
3836
|
-
additionalProperties: false,
|
|
3837
|
-
},
|
|
3838
|
-
},
|
|
3839
|
-
additionalProperties: false,
|
|
3840
|
-
},
|
|
3841
|
-
uuid: {
|
|
3842
|
-
type: 'string',
|
|
3843
|
-
description: "The project's immutable id.",
|
|
3844
|
-
},
|
|
3845
|
-
key: {
|
|
3846
|
-
type: 'string',
|
|
3847
|
-
description: "The project's key.",
|
|
3848
|
-
},
|
|
3849
|
-
owner: {
|
|
3850
|
-
allOf: [
|
|
3851
|
-
{
|
|
3852
|
-
type: 'object',
|
|
3853
|
-
description:
|
|
3854
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
3855
|
-
properties: {
|
|
3856
|
-
type: {
|
|
3857
|
-
type: 'string',
|
|
3858
|
-
},
|
|
3859
|
-
},
|
|
3860
|
-
required: ['type'],
|
|
3861
|
-
additionalProperties: true,
|
|
3862
|
-
},
|
|
3863
|
-
{
|
|
3864
|
-
type: 'object',
|
|
3865
|
-
description: 'An account object.',
|
|
3866
|
-
properties: {
|
|
3867
|
-
links: {
|
|
3868
|
-
type: 'object',
|
|
3869
|
-
properties: {
|
|
3870
|
-
self: {
|
|
3871
|
-
type: 'object',
|
|
3872
|
-
properties: {
|
|
3873
|
-
href: {
|
|
3874
|
-
type: 'string',
|
|
3875
|
-
format: 'uri',
|
|
3876
|
-
},
|
|
3877
|
-
name: {
|
|
3878
|
-
type: 'string',
|
|
3879
|
-
},
|
|
3880
|
-
},
|
|
3881
|
-
additionalProperties: false,
|
|
3882
|
-
},
|
|
3883
|
-
html: {
|
|
3884
|
-
type: 'object',
|
|
3885
|
-
properties: {
|
|
3886
|
-
href: {
|
|
3887
|
-
type: 'string',
|
|
3888
|
-
format: 'uri',
|
|
3889
|
-
},
|
|
3890
|
-
name: {
|
|
3891
|
-
type: 'string',
|
|
3892
|
-
},
|
|
3893
|
-
},
|
|
3894
|
-
additionalProperties: false,
|
|
3895
|
-
},
|
|
3896
|
-
avatar: {
|
|
3897
|
-
type: 'object',
|
|
3898
|
-
properties: {
|
|
3899
|
-
href: {
|
|
3900
|
-
type: 'string',
|
|
3901
|
-
format: 'uri',
|
|
3902
|
-
},
|
|
3903
|
-
name: {
|
|
3904
|
-
type: 'string',
|
|
3905
|
-
},
|
|
3906
|
-
},
|
|
3907
|
-
additionalProperties: false,
|
|
3908
|
-
},
|
|
3909
|
-
followers: {
|
|
3910
|
-
type: 'object',
|
|
3911
|
-
properties: {
|
|
3912
|
-
href: {
|
|
3913
|
-
type: 'string',
|
|
3914
|
-
format: 'uri',
|
|
3915
|
-
},
|
|
3916
|
-
name: {
|
|
3917
|
-
type: 'string',
|
|
3918
|
-
},
|
|
3919
|
-
},
|
|
3920
|
-
additionalProperties: false,
|
|
3921
|
-
},
|
|
3922
|
-
following: {
|
|
3923
|
-
type: 'object',
|
|
3924
|
-
properties: {
|
|
3925
|
-
href: {
|
|
3926
|
-
type: 'string',
|
|
3927
|
-
format: 'uri',
|
|
3928
|
-
},
|
|
3929
|
-
name: {
|
|
3930
|
-
type: 'string',
|
|
3931
|
-
},
|
|
3932
|
-
},
|
|
3933
|
-
additionalProperties: false,
|
|
3934
|
-
},
|
|
3935
|
-
repositories: {
|
|
3936
|
-
type: 'object',
|
|
3937
|
-
properties: {
|
|
3938
|
-
href: {
|
|
3939
|
-
type: 'string',
|
|
3940
|
-
format: 'uri',
|
|
3941
|
-
},
|
|
3942
|
-
name: {
|
|
3943
|
-
type: 'string',
|
|
3944
|
-
},
|
|
3945
|
-
},
|
|
3946
|
-
additionalProperties: false,
|
|
3947
|
-
},
|
|
3948
|
-
},
|
|
3949
|
-
additionalProperties: false,
|
|
3950
|
-
},
|
|
3951
|
-
username: {
|
|
3952
|
-
type: 'string',
|
|
3953
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
3954
|
-
},
|
|
3955
|
-
nickname: {
|
|
3956
|
-
type: 'string',
|
|
3957
|
-
description:
|
|
3958
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
3959
|
-
},
|
|
3960
|
-
account_status: {
|
|
3961
|
-
type: 'string',
|
|
3962
|
-
description:
|
|
3963
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
3964
|
-
},
|
|
3965
|
-
display_name: {
|
|
3966
|
-
type: 'string',
|
|
3967
|
-
},
|
|
3968
|
-
website: {
|
|
3969
|
-
type: 'string',
|
|
3970
|
-
},
|
|
3971
|
-
created_on: {
|
|
3972
|
-
type: 'string',
|
|
3973
|
-
format: 'date-time',
|
|
3974
|
-
},
|
|
3975
|
-
uuid: {
|
|
3976
|
-
type: 'string',
|
|
3977
|
-
},
|
|
3978
|
-
has_2fa_enabled: {
|
|
3979
|
-
type: 'boolean',
|
|
3980
|
-
},
|
|
3981
|
-
},
|
|
3982
|
-
additionalProperties: true,
|
|
3983
|
-
},
|
|
3984
|
-
{
|
|
3985
|
-
type: 'object',
|
|
3986
|
-
description: 'A team object.',
|
|
3987
|
-
properties: {},
|
|
3988
|
-
additionalProperties: true,
|
|
3989
|
-
},
|
|
3990
|
-
],
|
|
3991
|
-
},
|
|
3992
|
-
name: {
|
|
3993
|
-
type: 'string',
|
|
3994
|
-
description: 'The name of the project.',
|
|
3995
|
-
},
|
|
3996
|
-
description: {
|
|
3997
|
-
type: 'string',
|
|
3998
|
-
},
|
|
3999
|
-
is_private: {
|
|
4000
|
-
type: 'boolean',
|
|
4001
|
-
description:
|
|
4002
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
4003
|
-
},
|
|
4004
|
-
created_on: {
|
|
4005
|
-
type: 'string',
|
|
4006
|
-
format: 'date-time',
|
|
4007
|
-
},
|
|
4008
|
-
updated_on: {
|
|
4009
|
-
type: 'string',
|
|
4010
|
-
format: 'date-time',
|
|
4011
|
-
},
|
|
4012
|
-
},
|
|
4013
|
-
additionalProperties: true,
|
|
4014
|
-
},
|
|
4015
|
-
],
|
|
4016
|
-
},
|
|
4017
|
-
minItems: 0,
|
|
4018
|
-
uniqueItems: true,
|
|
4019
|
-
},
|
|
4020
|
-
},
|
|
4021
|
-
additionalProperties: false,
|
|
4022
|
-
},
|
|
4023
|
-
],
|
|
4024
|
-
type: 'object',
|
|
4025
|
-
},
|
|
4026
|
-
dsfg: {
|
|
4027
|
-
allOf: [
|
|
4028
|
-
{
|
|
4029
|
-
allOf: [
|
|
4030
|
-
{
|
|
4031
|
-
title: 'Todo Partial',
|
|
4032
|
-
type: 'object',
|
|
4033
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
4034
|
-
required: ['name', 'completed'],
|
|
4035
|
-
},
|
|
4036
|
-
{
|
|
4037
|
-
type: 'object',
|
|
4038
|
-
properties: {
|
|
4039
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
4040
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
4041
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
4042
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
4043
|
-
user: {
|
|
4044
|
-
title: 'User',
|
|
4045
|
-
type: 'object',
|
|
4046
|
-
properties: {
|
|
4047
|
-
name: { type: 'string', description: "The user's full name." },
|
|
4048
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
4049
|
-
},
|
|
4050
|
-
required: ['name', 'age'],
|
|
4051
|
-
},
|
|
4052
|
-
},
|
|
4053
|
-
required: ['id', 'user'],
|
|
4054
|
-
},
|
|
4055
|
-
{
|
|
4056
|
-
type: 'object',
|
|
4057
|
-
description: 'A paginated list of projects',
|
|
4058
|
-
properties: {
|
|
4059
|
-
size: {
|
|
4060
|
-
type: 'integer',
|
|
4061
|
-
description:
|
|
4062
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
4063
|
-
minimum: 0,
|
|
4064
|
-
},
|
|
4065
|
-
page: {
|
|
4066
|
-
type: 'integer',
|
|
4067
|
-
description:
|
|
4068
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
4069
|
-
minimum: 1,
|
|
4070
|
-
},
|
|
4071
|
-
pagelen: {
|
|
4072
|
-
type: 'integer',
|
|
4073
|
-
description:
|
|
4074
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
4075
|
-
minimum: 1,
|
|
4076
|
-
},
|
|
4077
|
-
next: {
|
|
4078
|
-
type: 'string',
|
|
4079
|
-
description:
|
|
4080
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
4081
|
-
format: 'uri',
|
|
4082
|
-
},
|
|
4083
|
-
previous: {
|
|
4084
|
-
type: 'string',
|
|
4085
|
-
description:
|
|
4086
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
4087
|
-
format: 'uri',
|
|
4088
|
-
},
|
|
4089
|
-
values: {
|
|
4090
|
-
type: 'array',
|
|
4091
|
-
items: {
|
|
4092
|
-
allOf: [
|
|
4093
|
-
{
|
|
4094
|
-
type: 'object',
|
|
4095
|
-
description:
|
|
4096
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
4097
|
-
properties: {
|
|
4098
|
-
type: {
|
|
4099
|
-
type: 'string',
|
|
4100
|
-
},
|
|
4101
|
-
},
|
|
4102
|
-
required: ['type'],
|
|
4103
|
-
additionalProperties: true,
|
|
4104
|
-
},
|
|
4105
|
-
{
|
|
4106
|
-
type: 'object',
|
|
4107
|
-
description:
|
|
4108
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
4109
|
-
properties: {
|
|
4110
|
-
links: {
|
|
4111
|
-
type: 'object',
|
|
4112
|
-
properties: {
|
|
4113
|
-
html: {
|
|
4114
|
-
type: 'object',
|
|
4115
|
-
properties: {
|
|
4116
|
-
href: {
|
|
4117
|
-
type: 'string',
|
|
4118
|
-
format: 'uri',
|
|
4119
|
-
},
|
|
4120
|
-
name: {
|
|
4121
|
-
type: 'string',
|
|
4122
|
-
},
|
|
4123
|
-
},
|
|
4124
|
-
additionalProperties: false,
|
|
4125
|
-
},
|
|
4126
|
-
avatar: {
|
|
4127
|
-
type: 'object',
|
|
4128
|
-
properties: {
|
|
4129
|
-
href: {
|
|
4130
|
-
type: 'string',
|
|
4131
|
-
format: 'uri',
|
|
4132
|
-
},
|
|
4133
|
-
name: {
|
|
4134
|
-
type: 'string',
|
|
4135
|
-
},
|
|
4136
|
-
},
|
|
4137
|
-
additionalProperties: false,
|
|
4138
|
-
},
|
|
4139
|
-
},
|
|
4140
|
-
additionalProperties: false,
|
|
4141
|
-
},
|
|
4142
|
-
uuid: {
|
|
4143
|
-
type: 'string',
|
|
4144
|
-
description: "The project's immutable id.",
|
|
4145
|
-
},
|
|
4146
|
-
key: {
|
|
4147
|
-
type: 'string',
|
|
4148
|
-
description: "The project's key.",
|
|
4149
|
-
},
|
|
4150
|
-
owner: {
|
|
4151
|
-
allOf: [
|
|
4152
|
-
{
|
|
4153
|
-
type: 'object',
|
|
4154
|
-
description:
|
|
4155
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
4156
|
-
properties: {
|
|
4157
|
-
type: {
|
|
4158
|
-
type: 'string',
|
|
4159
|
-
},
|
|
4160
|
-
},
|
|
4161
|
-
required: ['type'],
|
|
4162
|
-
additionalProperties: true,
|
|
4163
|
-
},
|
|
4164
|
-
{
|
|
4165
|
-
type: 'object',
|
|
4166
|
-
description: 'An account object.',
|
|
4167
|
-
properties: {
|
|
4168
|
-
links: {
|
|
4169
|
-
type: 'object',
|
|
4170
|
-
properties: {
|
|
4171
|
-
self: {
|
|
4172
|
-
type: 'object',
|
|
4173
|
-
properties: {
|
|
4174
|
-
href: {
|
|
4175
|
-
type: 'string',
|
|
4176
|
-
format: 'uri',
|
|
4177
|
-
},
|
|
4178
|
-
name: {
|
|
4179
|
-
type: 'string',
|
|
4180
|
-
},
|
|
4181
|
-
},
|
|
4182
|
-
additionalProperties: false,
|
|
4183
|
-
},
|
|
4184
|
-
html: {
|
|
4185
|
-
type: 'object',
|
|
4186
|
-
properties: {
|
|
4187
|
-
href: {
|
|
4188
|
-
type: 'string',
|
|
4189
|
-
format: 'uri',
|
|
4190
|
-
},
|
|
4191
|
-
name: {
|
|
4192
|
-
type: 'string',
|
|
4193
|
-
},
|
|
4194
|
-
},
|
|
4195
|
-
additionalProperties: false,
|
|
4196
|
-
},
|
|
4197
|
-
avatar: {
|
|
4198
|
-
type: 'object',
|
|
4199
|
-
properties: {
|
|
4200
|
-
href: {
|
|
4201
|
-
type: 'string',
|
|
4202
|
-
format: 'uri',
|
|
4203
|
-
},
|
|
4204
|
-
name: {
|
|
4205
|
-
type: 'string',
|
|
4206
|
-
},
|
|
4207
|
-
},
|
|
4208
|
-
additionalProperties: false,
|
|
4209
|
-
},
|
|
4210
|
-
followers: {
|
|
4211
|
-
type: 'object',
|
|
4212
|
-
properties: {
|
|
4213
|
-
href: {
|
|
4214
|
-
type: 'string',
|
|
4215
|
-
format: 'uri',
|
|
4216
|
-
},
|
|
4217
|
-
name: {
|
|
4218
|
-
type: 'string',
|
|
4219
|
-
},
|
|
4220
|
-
},
|
|
4221
|
-
additionalProperties: false,
|
|
4222
|
-
},
|
|
4223
|
-
following: {
|
|
4224
|
-
type: 'object',
|
|
4225
|
-
properties: {
|
|
4226
|
-
href: {
|
|
4227
|
-
type: 'string',
|
|
4228
|
-
format: 'uri',
|
|
4229
|
-
},
|
|
4230
|
-
name: {
|
|
4231
|
-
type: 'string',
|
|
4232
|
-
},
|
|
4233
|
-
},
|
|
4234
|
-
additionalProperties: false,
|
|
4235
|
-
},
|
|
4236
|
-
repositories: {
|
|
4237
|
-
type: 'object',
|
|
4238
|
-
properties: {
|
|
4239
|
-
href: {
|
|
4240
|
-
type: 'string',
|
|
4241
|
-
format: 'uri',
|
|
4242
|
-
},
|
|
4243
|
-
name: {
|
|
4244
|
-
type: 'string',
|
|
4245
|
-
},
|
|
4246
|
-
},
|
|
4247
|
-
additionalProperties: false,
|
|
4248
|
-
},
|
|
4249
|
-
},
|
|
4250
|
-
additionalProperties: false,
|
|
4251
|
-
},
|
|
4252
|
-
username: {
|
|
4253
|
-
type: 'string',
|
|
4254
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
4255
|
-
},
|
|
4256
|
-
nickname: {
|
|
4257
|
-
type: 'string',
|
|
4258
|
-
description:
|
|
4259
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
4260
|
-
},
|
|
4261
|
-
account_status: {
|
|
4262
|
-
type: 'string',
|
|
4263
|
-
description:
|
|
4264
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
4265
|
-
},
|
|
4266
|
-
display_name: {
|
|
4267
|
-
type: 'string',
|
|
4268
|
-
},
|
|
4269
|
-
website: {
|
|
4270
|
-
type: 'string',
|
|
4271
|
-
},
|
|
4272
|
-
created_on: {
|
|
4273
|
-
type: 'string',
|
|
4274
|
-
format: 'date-time',
|
|
4275
|
-
},
|
|
4276
|
-
uuid: {
|
|
4277
|
-
type: 'string',
|
|
4278
|
-
},
|
|
4279
|
-
has_2fa_enabled: {
|
|
4280
|
-
type: 'boolean',
|
|
4281
|
-
},
|
|
4282
|
-
},
|
|
4283
|
-
additionalProperties: true,
|
|
4284
|
-
},
|
|
4285
|
-
{
|
|
4286
|
-
type: 'object',
|
|
4287
|
-
description: 'A team object.',
|
|
4288
|
-
properties: {},
|
|
4289
|
-
additionalProperties: true,
|
|
4290
|
-
},
|
|
4291
|
-
],
|
|
4292
|
-
},
|
|
4293
|
-
name: {
|
|
4294
|
-
type: 'string',
|
|
4295
|
-
description: 'The name of the project.',
|
|
4296
|
-
},
|
|
4297
|
-
description: {
|
|
4298
|
-
type: 'string',
|
|
4299
|
-
},
|
|
4300
|
-
is_private: {
|
|
4301
|
-
type: 'boolean',
|
|
4302
|
-
description:
|
|
4303
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
4304
|
-
},
|
|
4305
|
-
created_on: {
|
|
4306
|
-
type: 'string',
|
|
4307
|
-
format: 'date-time',
|
|
4308
|
-
},
|
|
4309
|
-
updated_on: {
|
|
4310
|
-
type: 'string',
|
|
4311
|
-
format: 'date-time',
|
|
4312
|
-
},
|
|
4313
|
-
},
|
|
4314
|
-
additionalProperties: true,
|
|
4315
|
-
},
|
|
4316
|
-
],
|
|
4317
|
-
},
|
|
4318
|
-
minItems: 0,
|
|
4319
|
-
uniqueItems: true,
|
|
4320
|
-
},
|
|
4321
|
-
},
|
|
4322
|
-
additionalProperties: false,
|
|
4323
|
-
},
|
|
4324
|
-
],
|
|
4325
|
-
type: 'object',
|
|
4326
|
-
},
|
|
4327
|
-
{
|
|
4328
|
-
type: 'object',
|
|
4329
|
-
properties: {
|
|
4330
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
4331
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
4332
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
4333
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
4334
|
-
user: {
|
|
4335
|
-
title: 'User',
|
|
4336
|
-
type: 'object',
|
|
4337
|
-
properties: {
|
|
4338
|
-
name: { type: 'string', description: "The user's full name." },
|
|
4339
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
4340
|
-
},
|
|
4341
|
-
required: ['name', 'age'],
|
|
4342
|
-
},
|
|
4343
|
-
},
|
|
4344
|
-
required: ['id', 'user'],
|
|
4345
|
-
},
|
|
4346
|
-
{
|
|
4347
|
-
allOf: [
|
|
4348
|
-
{
|
|
4349
|
-
title: 'Todo Partial',
|
|
4350
|
-
type: 'object',
|
|
4351
|
-
properties: { name: { type: 'string' }, completed: { type: ['boolean', 'null'] } },
|
|
4352
|
-
required: ['name', 'completed'],
|
|
4353
|
-
},
|
|
4354
|
-
{
|
|
4355
|
-
type: 'object',
|
|
4356
|
-
properties: {
|
|
4357
|
-
id: { type: 'integer', minimum: 0, maximum: 1000000 },
|
|
4358
|
-
completed_at: { type: ['string', 'null'], format: 'date-time' },
|
|
4359
|
-
created_at: { type: 'string', format: 'date-time' },
|
|
4360
|
-
updated_at: { type: 'string', format: 'date-time' },
|
|
4361
|
-
user: {
|
|
4362
|
-
title: 'User',
|
|
4363
|
-
type: 'object',
|
|
4364
|
-
properties: {
|
|
4365
|
-
name: { type: 'string', description: "The user's full name." },
|
|
4366
|
-
age: { type: 'number', minimum: 0, maximum: 150 },
|
|
4367
|
-
},
|
|
4368
|
-
required: ['name', 'age'],
|
|
4369
|
-
},
|
|
4370
|
-
},
|
|
4371
|
-
required: ['id', 'user'],
|
|
4372
|
-
},
|
|
4373
|
-
{
|
|
4374
|
-
type: 'object',
|
|
4375
|
-
description: 'A paginated list of projects',
|
|
4376
|
-
properties: {
|
|
4377
|
-
size: {
|
|
4378
|
-
type: 'integer',
|
|
4379
|
-
description:
|
|
4380
|
-
'Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.',
|
|
4381
|
-
minimum: 0,
|
|
4382
|
-
},
|
|
4383
|
-
page: {
|
|
4384
|
-
type: 'integer',
|
|
4385
|
-
description:
|
|
4386
|
-
'Page number of the current results. This is an optional element that is not provided in all responses.',
|
|
4387
|
-
minimum: 1,
|
|
4388
|
-
},
|
|
4389
|
-
pagelen: {
|
|
4390
|
-
type: 'integer',
|
|
4391
|
-
description:
|
|
4392
|
-
'Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.',
|
|
4393
|
-
minimum: 1,
|
|
4394
|
-
},
|
|
4395
|
-
next: {
|
|
4396
|
-
type: 'string',
|
|
4397
|
-
description:
|
|
4398
|
-
'Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
4399
|
-
format: 'uri',
|
|
4400
|
-
},
|
|
4401
|
-
previous: {
|
|
4402
|
-
type: 'string',
|
|
4403
|
-
description:
|
|
4404
|
-
'Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.',
|
|
4405
|
-
format: 'uri',
|
|
4406
|
-
},
|
|
4407
|
-
values: {
|
|
4408
|
-
type: 'array',
|
|
4409
|
-
items: {
|
|
4410
|
-
allOf: [
|
|
4411
|
-
{
|
|
4412
|
-
type: 'object',
|
|
4413
|
-
description:
|
|
4414
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
4415
|
-
properties: {
|
|
4416
|
-
type: {
|
|
4417
|
-
type: 'string',
|
|
4418
|
-
},
|
|
4419
|
-
},
|
|
4420
|
-
required: ['type'],
|
|
4421
|
-
additionalProperties: true,
|
|
4422
|
-
},
|
|
4423
|
-
{
|
|
4424
|
-
type: 'object',
|
|
4425
|
-
description:
|
|
4426
|
-
'A Bitbucket project.\n Projects are used by teams to organize repositories.',
|
|
4427
|
-
properties: {
|
|
4428
|
-
links: {
|
|
4429
|
-
type: 'object',
|
|
4430
|
-
properties: {
|
|
4431
|
-
html: {
|
|
4432
|
-
type: 'object',
|
|
4433
|
-
properties: {
|
|
4434
|
-
href: {
|
|
4435
|
-
type: 'string',
|
|
4436
|
-
format: 'uri',
|
|
4437
|
-
},
|
|
4438
|
-
name: {
|
|
4439
|
-
type: 'string',
|
|
4440
|
-
},
|
|
4441
|
-
},
|
|
4442
|
-
additionalProperties: false,
|
|
4443
|
-
},
|
|
4444
|
-
avatar: {
|
|
4445
|
-
type: 'object',
|
|
4446
|
-
properties: {
|
|
4447
|
-
href: {
|
|
4448
|
-
type: 'string',
|
|
4449
|
-
format: 'uri',
|
|
4450
|
-
},
|
|
4451
|
-
name: {
|
|
4452
|
-
type: 'string',
|
|
4453
|
-
},
|
|
4454
|
-
},
|
|
4455
|
-
additionalProperties: false,
|
|
4456
|
-
},
|
|
4457
|
-
},
|
|
4458
|
-
additionalProperties: false,
|
|
4459
|
-
},
|
|
4460
|
-
uuid: {
|
|
4461
|
-
type: 'string',
|
|
4462
|
-
description: "The project's immutable id.",
|
|
4463
|
-
},
|
|
4464
|
-
key: {
|
|
4465
|
-
type: 'string',
|
|
4466
|
-
description: "The project's key.",
|
|
4467
|
-
},
|
|
4468
|
-
owner: {
|
|
4469
|
-
allOf: [
|
|
4470
|
-
{
|
|
4471
|
-
type: 'object',
|
|
4472
|
-
description:
|
|
4473
|
-
"Base type for most resource objects. It defines the common `type` element that identifies an object's type. It also identifies the element as Swagger's `discriminator`.",
|
|
4474
|
-
properties: {
|
|
4475
|
-
type: {
|
|
4476
|
-
type: 'string',
|
|
4477
|
-
},
|
|
4478
|
-
},
|
|
4479
|
-
required: ['type'],
|
|
4480
|
-
additionalProperties: true,
|
|
4481
|
-
},
|
|
4482
|
-
{
|
|
4483
|
-
type: 'object',
|
|
4484
|
-
description: 'An account object.',
|
|
4485
|
-
properties: {
|
|
4486
|
-
links: {
|
|
4487
|
-
type: 'object',
|
|
4488
|
-
properties: {
|
|
4489
|
-
self: {
|
|
4490
|
-
type: 'object',
|
|
4491
|
-
properties: {
|
|
4492
|
-
href: {
|
|
4493
|
-
type: 'string',
|
|
4494
|
-
format: 'uri',
|
|
4495
|
-
},
|
|
4496
|
-
name: {
|
|
4497
|
-
type: 'string',
|
|
4498
|
-
},
|
|
4499
|
-
},
|
|
4500
|
-
additionalProperties: false,
|
|
4501
|
-
},
|
|
4502
|
-
html: {
|
|
4503
|
-
type: 'object',
|
|
4504
|
-
properties: {
|
|
4505
|
-
href: {
|
|
4506
|
-
type: 'string',
|
|
4507
|
-
format: 'uri',
|
|
4508
|
-
},
|
|
4509
|
-
name: {
|
|
4510
|
-
type: 'string',
|
|
4511
|
-
},
|
|
4512
|
-
},
|
|
4513
|
-
additionalProperties: false,
|
|
4514
|
-
},
|
|
4515
|
-
avatar: {
|
|
4516
|
-
type: 'object',
|
|
4517
|
-
properties: {
|
|
4518
|
-
href: {
|
|
4519
|
-
type: 'string',
|
|
4520
|
-
format: 'uri',
|
|
4521
|
-
},
|
|
4522
|
-
name: {
|
|
4523
|
-
type: 'string',
|
|
4524
|
-
},
|
|
4525
|
-
},
|
|
4526
|
-
additionalProperties: false,
|
|
4527
|
-
},
|
|
4528
|
-
followers: {
|
|
4529
|
-
type: 'object',
|
|
4530
|
-
properties: {
|
|
4531
|
-
href: {
|
|
4532
|
-
type: 'string',
|
|
4533
|
-
format: 'uri',
|
|
4534
|
-
},
|
|
4535
|
-
name: {
|
|
4536
|
-
type: 'string',
|
|
4537
|
-
},
|
|
4538
|
-
},
|
|
4539
|
-
additionalProperties: false,
|
|
4540
|
-
},
|
|
4541
|
-
following: {
|
|
4542
|
-
type: 'object',
|
|
4543
|
-
properties: {
|
|
4544
|
-
href: {
|
|
4545
|
-
type: 'string',
|
|
4546
|
-
format: 'uri',
|
|
4547
|
-
},
|
|
4548
|
-
name: {
|
|
4549
|
-
type: 'string',
|
|
4550
|
-
},
|
|
4551
|
-
},
|
|
4552
|
-
additionalProperties: false,
|
|
4553
|
-
},
|
|
4554
|
-
repositories: {
|
|
4555
|
-
type: 'object',
|
|
4556
|
-
properties: {
|
|
4557
|
-
href: {
|
|
4558
|
-
type: 'string',
|
|
4559
|
-
format: 'uri',
|
|
4560
|
-
},
|
|
4561
|
-
name: {
|
|
4562
|
-
type: 'string',
|
|
4563
|
-
},
|
|
4564
|
-
},
|
|
4565
|
-
additionalProperties: false,
|
|
4566
|
-
},
|
|
4567
|
-
},
|
|
4568
|
-
additionalProperties: false,
|
|
4569
|
-
},
|
|
4570
|
-
username: {
|
|
4571
|
-
type: 'string',
|
|
4572
|
-
pattern: '^[a-zA-Z0-9_\\-]+$',
|
|
4573
|
-
},
|
|
4574
|
-
nickname: {
|
|
4575
|
-
type: 'string',
|
|
4576
|
-
description:
|
|
4577
|
-
'Account name defined by the owner. Should be used instead of the "username" field. Note that "nickname" cannot be used in place of "username" in URLs and queries, as "nickname" is not guaranteed to be unique.',
|
|
4578
|
-
},
|
|
4579
|
-
account_status: {
|
|
4580
|
-
type: 'string',
|
|
4581
|
-
description:
|
|
4582
|
-
'The status of the account. Currently the only possible value is "active", but more values may be added in the future.',
|
|
4583
|
-
},
|
|
4584
|
-
display_name: {
|
|
4585
|
-
type: 'string',
|
|
4586
|
-
},
|
|
4587
|
-
website: {
|
|
4588
|
-
type: 'string',
|
|
4589
|
-
},
|
|
4590
|
-
created_on: {
|
|
4591
|
-
type: 'string',
|
|
4592
|
-
format: 'date-time',
|
|
4593
|
-
},
|
|
4594
|
-
uuid: {
|
|
4595
|
-
type: 'string',
|
|
4596
|
-
},
|
|
4597
|
-
has_2fa_enabled: {
|
|
4598
|
-
type: 'boolean',
|
|
4599
|
-
},
|
|
4600
|
-
},
|
|
4601
|
-
additionalProperties: true,
|
|
4602
|
-
},
|
|
4603
|
-
{
|
|
4604
|
-
type: 'object',
|
|
4605
|
-
description: 'A team object.',
|
|
4606
|
-
properties: {},
|
|
4607
|
-
additionalProperties: true,
|
|
4608
|
-
},
|
|
4609
|
-
],
|
|
4610
|
-
},
|
|
4611
|
-
name: {
|
|
4612
|
-
type: 'string',
|
|
4613
|
-
description: 'The name of the project.',
|
|
4614
|
-
},
|
|
4615
|
-
description: {
|
|
4616
|
-
type: 'string',
|
|
4617
|
-
},
|
|
4618
|
-
is_private: {
|
|
4619
|
-
type: 'boolean',
|
|
4620
|
-
description:
|
|
4621
|
-
'\nIndicates whether the project is publicly accessible, or whether it is\nprivate to the team and consequently only visible to team members.\nNote that private projects cannot contain public repositories.',
|
|
4622
|
-
},
|
|
4623
|
-
created_on: {
|
|
4624
|
-
type: 'string',
|
|
4625
|
-
format: 'date-time',
|
|
4626
|
-
},
|
|
4627
|
-
updated_on: {
|
|
4628
|
-
type: 'string',
|
|
4629
|
-
format: 'date-time',
|
|
4630
|
-
},
|
|
4631
|
-
},
|
|
4632
|
-
additionalProperties: true,
|
|
4633
|
-
},
|
|
4634
|
-
],
|
|
4635
|
-
},
|
|
4636
|
-
minItems: 0,
|
|
4637
|
-
uniqueItems: true,
|
|
4638
|
-
},
|
|
4639
|
-
},
|
|
4640
|
-
additionalProperties: false,
|
|
4641
|
-
},
|
|
4642
|
-
],
|
|
4643
|
-
type: 'object',
|
|
4644
|
-
},
|
|
4645
|
-
],
|
|
4646
|
-
type: 'object',
|
|
4647
|
-
},
|
|
4648
|
-
},
|
|
4649
|
-
},
|
|
4650
|
-
],
|
|
4651
|
-
},
|
|
4652
|
-
},
|
|
4653
|
-
],
|
|
4654
|
-
},
|
|
4655
|
-
],
|
|
4656
|
-
servers: [
|
|
4657
|
-
{
|
|
4658
|
-
id: '?http-server-todos.stoplight.io?',
|
|
4659
|
-
url: 'https://todos.stoplight.io',
|
|
4660
|
-
},
|
|
4661
|
-
],
|
|
4662
|
-
request: {
|
|
4663
|
-
body: {
|
|
4664
|
-
id: '?http-request-body?',
|
|
4665
|
-
contents: [
|
|
4666
|
-
{
|
|
4667
|
-
id: '?http-media-1?',
|
|
4668
|
-
mediaType: 'application/json',
|
|
4669
|
-
schema: {
|
|
4670
|
-
type: 'object',
|
|
4671
|
-
properties: {
|
|
4672
|
-
name: {
|
|
4673
|
-
type: 'string',
|
|
4674
|
-
},
|
|
4675
|
-
age: {
|
|
4676
|
-
type: 'number',
|
|
4677
|
-
},
|
|
4678
|
-
trial: {
|
|
4679
|
-
type: 'boolean',
|
|
4680
|
-
readOnly: true,
|
|
4681
|
-
},
|
|
4682
|
-
},
|
|
4683
|
-
},
|
|
4684
|
-
},
|
|
4685
|
-
],
|
|
4686
|
-
},
|
|
4687
|
-
},
|
|
4688
|
-
};
|
|
4689
|
-
|
|
4690
|
-
export default httpOperation;
|