scanoss 1.20.0__tar.gz → 1.20.2__tar.gz

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.
Files changed (125) hide show
  1. {scanoss-1.20.0/src/scanoss.egg-info → scanoss-1.20.2}/PKG-INFO +1 -1
  2. scanoss-1.20.2/pyproject.toml +19 -0
  3. scanoss-1.20.2/src/protoc_gen_swagger/__init__.py +20 -0
  4. scanoss-1.20.2/src/protoc_gen_swagger/options/__init__.py +20 -0
  5. scanoss-1.20.2/src/protoc_gen_swagger/options/annotations_pb2.py +34 -0
  6. scanoss-1.20.2/src/protoc_gen_swagger/options/openapiv2_pb2.py +120 -0
  7. scanoss-1.20.2/src/scanoss/__init__.py +25 -0
  8. scanoss-1.20.2/src/scanoss/api/__init__.py +23 -0
  9. scanoss-1.20.2/src/scanoss/api/common/__init__.py +23 -0
  10. scanoss-1.20.2/src/scanoss/api/common/v2/__init__.py +23 -0
  11. scanoss-1.20.2/src/scanoss/api/common/v2/scanoss_common_pb2.py +36 -0
  12. scanoss-1.20.2/src/scanoss/api/components/__init__.py +23 -0
  13. scanoss-1.20.2/src/scanoss/api/components/v2/__init__.py +23 -0
  14. scanoss-1.20.2/src/scanoss/api/components/v2/scanoss_components_pb2.py +71 -0
  15. scanoss-1.20.2/src/scanoss/api/components/v2/scanoss_components_pb2_grpc.py +222 -0
  16. scanoss-1.20.2/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py +45 -0
  17. scanoss-1.20.2/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py +134 -0
  18. scanoss-1.20.2/src/scanoss/api/dependencies/__init__.py +23 -0
  19. scanoss-1.20.2/src/scanoss/api/dependencies/v2/__init__.py +23 -0
  20. scanoss-1.20.2/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py +53 -0
  21. scanoss-1.20.2/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py +134 -0
  22. scanoss-1.20.2/src/scanoss/api/scanning/__init__.py +23 -0
  23. scanoss-1.20.2/src/scanoss/api/scanning/v2/__init__.py +23 -0
  24. scanoss-1.20.2/src/scanoss/api/scanning/v2/scanoss_scanning_pb2.py +33 -0
  25. scanoss-1.20.2/src/scanoss/api/scanning/v2/scanoss_scanning_pb2_grpc.py +78 -0
  26. scanoss-1.20.2/src/scanoss/api/semgrep/__init__.py +23 -0
  27. scanoss-1.20.2/src/scanoss/api/semgrep/v2/__init__.py +23 -0
  28. scanoss-1.20.2/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2.py +45 -0
  29. scanoss-1.20.2/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2_grpc.py +130 -0
  30. scanoss-1.20.2/src/scanoss/api/vulnerabilities/__init__.py +23 -0
  31. scanoss-1.20.2/src/scanoss/api/vulnerabilities/v2/__init__.py +23 -0
  32. scanoss-1.20.2/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py +59 -0
  33. scanoss-1.20.2/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py +179 -0
  34. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/cli.py +664 -356
  35. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/components.py +67 -45
  36. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/csvoutput.py +83 -56
  37. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/cyclonedx.py +48 -46
  38. scanoss-1.20.2/src/scanoss/data/build_date.txt +1 -0
  39. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/file_filters.py +13 -15
  40. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/filecount.py +43 -36
  41. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/inspection/copyleft.py +71 -58
  42. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/inspection/policy_check.py +76 -53
  43. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/inspection/undeclared_component.py +98 -75
  44. scanoss-1.20.2/src/scanoss/inspection/utils/license_utils.py +137 -0
  45. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/results.py +51 -60
  46. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/scancodedeps.py +61 -38
  47. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/scanner.py +203 -135
  48. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/scanoss_settings.py +5 -3
  49. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/scanossapi.py +98 -69
  50. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/scanossbase.py +19 -19
  51. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/scanossgrpc.py +73 -51
  52. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/scanpostprocessor.py +9 -6
  53. scanoss-1.20.2/src/scanoss/scantype.py +35 -0
  54. scanoss-1.20.2/src/scanoss/spdxlite.py +451 -0
  55. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/threadeddependencies.py +91 -61
  56. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/threadedscanning.py +37 -31
  57. scanoss-1.20.2/src/scanoss/utils/__init__.py +23 -0
  58. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/utils/file.py +4 -4
  59. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/winnowing.py +111 -47
  60. {scanoss-1.20.0 → scanoss-1.20.2/src/scanoss.egg-info}/PKG-INFO +1 -1
  61. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss.egg-info/SOURCES.txt +1 -0
  62. scanoss-1.20.2/tests/test_csv_output.py +50 -0
  63. {scanoss-1.20.0 → scanoss-1.20.2}/tests/test_file_filters.py +44 -37
  64. {scanoss-1.20.0 → scanoss-1.20.2}/tests/test_policy_inspect.py +89 -71
  65. scanoss-1.20.2/tests/test_spdxlite.py +70 -0
  66. scanoss-1.20.2/tests/test_winnowing.py +82 -0
  67. scanoss-1.20.0/pyproject.toml +0 -3
  68. scanoss-1.20.0/src/protoc_gen_swagger/__init__.py +0 -20
  69. scanoss-1.20.0/src/protoc_gen_swagger/options/__init__.py +0 -20
  70. scanoss-1.20.0/src/protoc_gen_swagger/options/annotations_pb2.py +0 -31
  71. scanoss-1.20.0/src/protoc_gen_swagger/options/openapiv2_pb2.py +0 -118
  72. scanoss-1.20.0/src/scanoss/__init__.py +0 -25
  73. scanoss-1.20.0/src/scanoss/api/common/v2/__init__.py +0 -23
  74. scanoss-1.20.0/src/scanoss/api/common/v2/scanoss_common_pb2.py +0 -36
  75. scanoss-1.20.0/src/scanoss/api/components/__init__.py +0 -23
  76. scanoss-1.20.0/src/scanoss/api/components/v2/__init__.py +0 -23
  77. scanoss-1.20.0/src/scanoss/api/components/v2/scanoss_components_pb2.py +0 -61
  78. scanoss-1.20.0/src/scanoss/api/components/v2/scanoss_components_pb2_grpc.py +0 -176
  79. scanoss-1.20.0/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2.py +0 -39
  80. scanoss-1.20.0/src/scanoss/api/cryptography/v2/scanoss_cryptography_pb2_grpc.py +0 -108
  81. scanoss-1.20.0/src/scanoss/api/dependencies/__init__.py +0 -23
  82. scanoss-1.20.0/src/scanoss/api/dependencies/v2/__init__.py +0 -23
  83. scanoss-1.20.0/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2.py +0 -47
  84. scanoss-1.20.0/src/scanoss/api/dependencies/v2/scanoss_dependencies_pb2_grpc.py +0 -108
  85. scanoss-1.20.0/src/scanoss/api/provenance/__init__.py +0 -23
  86. scanoss-1.20.0/src/scanoss/api/provenance/v2/__init__.py +0 -23
  87. scanoss-1.20.0/src/scanoss/api/scanning/__init__.py +0 -23
  88. scanoss-1.20.0/src/scanoss/api/scanning/v2/__init__.py +0 -23
  89. scanoss-1.20.0/src/scanoss/api/scanning/v2/scanoss_scanning_pb2.py +0 -31
  90. scanoss-1.20.0/src/scanoss/api/scanning/v2/scanoss_scanning_pb2_grpc.py +0 -70
  91. scanoss-1.20.0/src/scanoss/api/semgrep/__init__.py +0 -23
  92. scanoss-1.20.0/src/scanoss/api/semgrep/v2/__init__.py +0 -23
  93. scanoss-1.20.0/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2.py +0 -41
  94. scanoss-1.20.0/src/scanoss/api/semgrep/v2/scanoss_semgrep_pb2_grpc.py +0 -108
  95. scanoss-1.20.0/src/scanoss/api/vulnerabilities/__init__.py +0 -23
  96. scanoss-1.20.0/src/scanoss/api/vulnerabilities/v2/__init__.py +0 -23
  97. scanoss-1.20.0/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2.py +0 -49
  98. scanoss-1.20.0/src/scanoss/api/vulnerabilities/v2/scanoss_vulnerabilities_pb2_grpc.py +0 -142
  99. scanoss-1.20.0/src/scanoss/data/build_date.txt +0 -1
  100. scanoss-1.20.0/src/scanoss/inspection/__init__.py +0 -23
  101. scanoss-1.20.0/src/scanoss/inspection/utils/license_utils.py +0 -115
  102. scanoss-1.20.0/src/scanoss/scantype.py +0 -34
  103. scanoss-1.20.0/src/scanoss/spdxlite.py +0 -357
  104. scanoss-1.20.0/tests/test_csv_output.py +0 -48
  105. scanoss-1.20.0/tests/test_winnowing.py +0 -81
  106. {scanoss-1.20.0 → scanoss-1.20.2}/LICENSE +0 -0
  107. {scanoss-1.20.0 → scanoss-1.20.2}/PACKAGE.md +0 -0
  108. {scanoss-1.20.0 → scanoss-1.20.2}/README.md +0 -0
  109. {scanoss-1.20.0 → scanoss-1.20.2}/setup.cfg +0 -0
  110. {scanoss-1.20.0 → scanoss-1.20.2}/src/protoc_gen_swagger/options/annotations_pb2_grpc.py +1 -1
  111. {scanoss-1.20.0 → scanoss-1.20.2}/src/protoc_gen_swagger/options/openapiv2_pb2_grpc.py +1 -1
  112. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/api/common/v2/scanoss_common_pb2_grpc.py +1 -1
  113. {scanoss-1.20.0/src/scanoss/api → scanoss-1.20.2/src/scanoss/api/provenance}/__init__.py +0 -0
  114. {scanoss-1.20.0/src/scanoss/api/common → scanoss-1.20.2/src/scanoss/api/provenance/v2}/__init__.py +0 -0
  115. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/api/provenance/v2/scanoss_provenance_pb2.py +0 -0
  116. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/api/provenance/v2/scanoss_provenance_pb2_grpc.py +0 -0
  117. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/data/scanoss-settings-schema.json +0 -0
  118. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/data/spdx-exceptions.json +0 -0
  119. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss/data/spdx-licenses.json +0 -0
  120. {scanoss-1.20.0/src/scanoss/utils → scanoss-1.20.2/src/scanoss/inspection}/__init__.py +0 -0
  121. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss.egg-info/dependency_links.txt +0 -0
  122. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss.egg-info/entry_points.txt +0 -0
  123. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss.egg-info/requires.txt +0 -0
  124. {scanoss-1.20.0 → scanoss-1.20.2}/src/scanoss.egg-info/top_level.txt +0 -0
  125. {scanoss-1.20.0 → scanoss-1.20.2}/tests/test_scan_post_processor.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: scanoss
3
- Version: 1.20.0
3
+ Version: 1.20.2
4
4
  Summary: Simple Python library to leverage the SCANOSS APIs
5
5
  Home-page: https://scanoss.com
6
6
  Author: SCANOSS
@@ -0,0 +1,19 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel", "twine"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [tool.ruff]
6
+ # Enable pycodestyle (E), pyflakes (F), isort (I), pylint (PL)
7
+ select = ["E", "F", "I", "PL"]
8
+ line-length = 120
9
+ # Assume Python 3.7+
10
+ target-version = "py37"
11
+ exclude = ["tests/*", "test_*.py", "src/scanoss/cli.py"]
12
+
13
+ [tool.ruff.format]
14
+ quote-style = "single"
15
+ indent-style = "space"
16
+ line-ending = "auto"
17
+
18
+ [tool.ruff.lint.isort]
19
+ known-first-party = ["scanoss"]
@@ -0,0 +1,20 @@
1
+ """
2
+ SPDX-License-Identifier: BSD-3-Clause
3
+
4
+ Copyright (c) 2015, Gengo, Inc.
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of Gengo, Inc. nor the names of its
18
+ contributors may be used to endorse or promote products derived from this
19
+ software without specific prior written permission.
20
+ """
@@ -0,0 +1,20 @@
1
+ """
2
+ SPDX-License-Identifier: BSD-3-Clause
3
+
4
+ Copyright (c) 2015, Gengo, Inc.
5
+ All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
9
+
10
+ * Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
12
+
13
+ * Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ * Neither the name of Gengo, Inc. nor the names of its
18
+ contributors may be used to endorse or promote products derived from this
19
+ software without specific prior written permission.
20
+ """
@@ -0,0 +1,34 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: protoc-gen-swagger/options/annotations.proto
4
+ """Generated protocol buffer code."""
5
+
6
+ from google.protobuf.internal import builder as _builder
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
16
+ from protoc_gen_swagger.options import openapiv2_pb2 as protoc__gen__swagger_dot_options_dot_openapiv2__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
20
+ b"\n,protoc-gen-swagger/options/annotations.proto\x12'grpc.gateway.protoc_gen_swagger.options\x1a google/protobuf/descriptor.proto\x1a*protoc-gen-swagger/options/openapiv2.proto:j\n\x11openapiv2_swagger\x12\x1c.google.protobuf.FileOptions\x18\x92\x08 \x01(\x0b\x32\x30.grpc.gateway.protoc_gen_swagger.options.Swagger:p\n\x13openapiv2_operation\x12\x1e.google.protobuf.MethodOptions\x18\x92\x08 \x01(\x0b\x32\x32.grpc.gateway.protoc_gen_swagger.options.Operation:k\n\x10openapiv2_schema\x12\x1f.google.protobuf.MessageOptions\x18\x92\x08 \x01(\x0b\x32/.grpc.gateway.protoc_gen_swagger.options.Schema:e\n\ropenapiv2_tag\x12\x1f.google.protobuf.ServiceOptions\x18\x92\x08 \x01(\x0b\x32,.grpc.gateway.protoc_gen_swagger.options.Tag:l\n\x0fopenapiv2_field\x12\x1d.google.protobuf.FieldOptions\x18\x92\x08 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_swagger.options.JSONSchemaBCZAgithub.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/optionsb\x06proto3"
21
+ )
22
+
23
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
24
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protoc_gen_swagger.options.annotations_pb2', globals())
25
+ if _descriptor._USE_C_DESCRIPTORS == False:
26
+ google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(openapiv2_swagger)
27
+ google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(openapiv2_operation)
28
+ google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(openapiv2_schema)
29
+ google_dot_protobuf_dot_descriptor__pb2.ServiceOptions.RegisterExtension(openapiv2_tag)
30
+ google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(openapiv2_field)
31
+
32
+ DESCRIPTOR._options = None
33
+ DESCRIPTOR._serialized_options = b'ZAgithub.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options'
34
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,120 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: protoc-gen-swagger/options/openapiv2.proto
4
+ """Generated protocol buffer code."""
5
+
6
+ from google.protobuf.internal import builder as _builder
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
16
+ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
17
+
18
+
19
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
20
+ b'\n*protoc-gen-swagger/options/openapiv2.proto\x12\'grpc.gateway.protoc_gen_swagger.options\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto"\xa0\x07\n\x07Swagger\x12\x0f\n\x07swagger\x18\x01 \x01(\t\x12;\n\x04info\x18\x02 \x01(\x0b\x32-.grpc.gateway.protoc_gen_swagger.options.Info\x12\x0c\n\x04host\x18\x03 \x01(\t\x12\x11\n\tbase_path\x18\x04 \x01(\t\x12O\n\x07schemes\x18\x05 \x03(\x0e\x32>.grpc.gateway.protoc_gen_swagger.options.Swagger.SwaggerScheme\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12R\n\tresponses\x18\n \x03(\x0b\x32?.grpc.gateway.protoc_gen_swagger.options.Swagger.ResponsesEntry\x12Z\n\x14security_definitions\x18\x0b \x01(\x0b\x32<.grpc.gateway.protoc_gen_swagger.options.SecurityDefinitions\x12N\n\x08security\x18\x0c \x03(\x0b\x32<.grpc.gateway.protoc_gen_swagger.options.SecurityRequirement\x12U\n\rexternal_docs\x18\x0e \x01(\x0b\x32>.grpc.gateway.protoc_gen_swagger.options.ExternalDocumentation\x12T\n\nextensions\x18\x0f \x03(\x0b\x32@.grpc.gateway.protoc_gen_swagger.options.Swagger.ExtensionsEntry\x1a\x63\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_swagger.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"B\n\rSwaggerScheme\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04HTTP\x10\x01\x12\t\n\x05HTTPS\x10\x02\x12\x06\n\x02WS\x10\x03\x12\x07\n\x03WSS\x10\x04J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\r\x10\x0e"\xa9\x05\n\tOperation\x12\x0c\n\x04tags\x18\x01 \x03(\t\x12\x0f\n\x07summary\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12U\n\rexternal_docs\x18\x04 \x01(\x0b\x32>.grpc.gateway.protoc_gen_swagger.options.ExternalDocumentation\x12\x14\n\x0coperation_id\x18\x05 \x01(\t\x12\x10\n\x08\x63onsumes\x18\x06 \x03(\t\x12\x10\n\x08produces\x18\x07 \x03(\t\x12T\n\tresponses\x18\t \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_swagger.options.Operation.ResponsesEntry\x12\x0f\n\x07schemes\x18\n \x03(\t\x12\x12\n\ndeprecated\x18\x0b \x01(\x08\x12N\n\x08security\x18\x0c \x03(\x0b\x32<.grpc.gateway.protoc_gen_swagger.options.SecurityRequirement\x12V\n\nextensions\x18\r \x03(\x0b\x32\x42.grpc.gateway.protoc_gen_swagger.options.Operation.ExtensionsEntry\x1a\x63\n\x0eResponsesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.grpc.gateway.protoc_gen_swagger.options.Response:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01J\x04\x08\x08\x10\t"\xab\x01\n\x06Header\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0e\n\x06\x66ormat\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x06 \x01(\t\x12\x0f\n\x07pattern\x18\r \x01(\tJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0bJ\x04\x08\x0b\x10\x0cJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x10\x10\x11J\x04\x08\x11\x10\x12J\x04\x08\x12\x10\x13"\xb8\x04\n\x08Response\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12?\n\x06schema\x18\x02 \x01(\x0b\x32/.grpc.gateway.protoc_gen_swagger.options.Schema\x12O\n\x07headers\x18\x03 \x03(\x0b\x32>.grpc.gateway.protoc_gen_swagger.options.Response.HeadersEntry\x12Q\n\x08\x65xamples\x18\x04 \x03(\x0b\x32?.grpc.gateway.protoc_gen_swagger.options.Response.ExamplesEntry\x12U\n\nextensions\x18\x05 \x03(\x0b\x32\x41.grpc.gateway.protoc_gen_swagger.options.Response.ExtensionsEntry\x1a_\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.grpc.gateway.protoc_gen_swagger.options.Header:\x02\x38\x01\x1a/\n\rExamplesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"\xf9\x02\n\x04Info\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x18\n\x10terms_of_service\x18\x03 \x01(\t\x12\x41\n\x07\x63ontact\x18\x04 \x01(\x0b\x32\x30.grpc.gateway.protoc_gen_swagger.options.Contact\x12\x41\n\x07license\x18\x05 \x01(\x0b\x32\x30.grpc.gateway.protoc_gen_swagger.options.License\x12\x0f\n\x07version\x18\x06 \x01(\t\x12Q\n\nextensions\x18\x07 \x03(\x0b\x32=.grpc.gateway.protoc_gen_swagger.options.Info.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"3\n\x07\x43ontact\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\r\n\x05\x65mail\x18\x03 \x01(\t"$\n\x07License\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t"9\n\x15\x45xternalDocumentation\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t"\x9c\x02\n\x06Schema\x12H\n\x0bjson_schema\x18\x01 \x01(\x0b\x32\x33.grpc.gateway.protoc_gen_swagger.options.JSONSchema\x12\x15\n\rdiscriminator\x18\x02 \x01(\t\x12\x11\n\tread_only\x18\x03 \x01(\x08\x12U\n\rexternal_docs\x18\x05 \x01(\x0b\x32>.grpc.gateway.protoc_gen_swagger.options.ExternalDocumentation\x12)\n\x07\x65xample\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyB\x02\x18\x01\x12\x16\n\x0e\x65xample_string\x18\x07 \x01(\tJ\x04\x08\x04\x10\x05"\xe3\x05\n\nJSONSchema\x12\x0b\n\x03ref\x18\x03 \x01(\t\x12\r\n\x05title\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0f\n\x07\x64\x65\x66\x61ult\x18\x07 \x01(\t\x12\x11\n\tread_only\x18\x08 \x01(\x08\x12\x0f\n\x07\x65xample\x18\t \x01(\t\x12\x13\n\x0bmultiple_of\x18\n \x01(\x01\x12\x0f\n\x07maximum\x18\x0b \x01(\x01\x12\x19\n\x11\x65xclusive_maximum\x18\x0c \x01(\x08\x12\x0f\n\x07minimum\x18\r \x01(\x01\x12\x19\n\x11\x65xclusive_minimum\x18\x0e \x01(\x08\x12\x12\n\nmax_length\x18\x0f \x01(\x04\x12\x12\n\nmin_length\x18\x10 \x01(\x04\x12\x0f\n\x07pattern\x18\x11 \x01(\t\x12\x11\n\tmax_items\x18\x14 \x01(\x04\x12\x11\n\tmin_items\x18\x15 \x01(\x04\x12\x14\n\x0cunique_items\x18\x16 \x01(\x08\x12\x16\n\x0emax_properties\x18\x18 \x01(\x04\x12\x16\n\x0emin_properties\x18\x19 \x01(\x04\x12\x10\n\x08required\x18\x1a \x03(\t\x12\r\n\x05\x61rray\x18" \x03(\t\x12W\n\x04type\x18# \x03(\x0e\x32I.grpc.gateway.protoc_gen_swagger.options.JSONSchema.JSONSchemaSimpleTypes\x12\x0e\n\x06\x66ormat\x18$ \x01(\t\x12\x0c\n\x04\x65num\x18. \x03(\t"w\n\x15JSONSchemaSimpleTypes\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41RRAY\x10\x01\x12\x0b\n\x07\x42OOLEAN\x10\x02\x12\x0b\n\x07INTEGER\x10\x03\x12\x08\n\x04NULL\x10\x04\x12\n\n\x06NUMBER\x10\x05\x12\n\n\x06OBJECT\x10\x06\x12\n\n\x06STRING\x10\x07J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05J\x04\x08\x12\x10\x13J\x04\x08\x13\x10\x14J\x04\x08\x17\x10\x18J\x04\x08\x1b\x10\x1cJ\x04\x08\x1c\x10\x1dJ\x04\x08\x1d\x10\x1eJ\x04\x08\x1e\x10"J\x04\x08%\x10*J\x04\x08*\x10+J\x04\x08+\x10."w\n\x03Tag\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12U\n\rexternal_docs\x18\x03 \x01(\x0b\x32>.grpc.gateway.protoc_gen_swagger.options.ExternalDocumentationJ\x04\x08\x01\x10\x02"\xdd\x01\n\x13SecurityDefinitions\x12\\\n\x08security\x18\x01 \x03(\x0b\x32J.grpc.gateway.protoc_gen_swagger.options.SecurityDefinitions.SecurityEntry\x1ah\n\rSecurityEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.grpc.gateway.protoc_gen_swagger.options.SecurityScheme:\x02\x38\x01"\x96\x06\n\x0eSecurityScheme\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.grpc.gateway.protoc_gen_swagger.options.SecurityScheme.Type\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x46\n\x02in\x18\x04 \x01(\x0e\x32:.grpc.gateway.protoc_gen_swagger.options.SecurityScheme.In\x12J\n\x04\x66low\x18\x05 \x01(\x0e\x32<.grpc.gateway.protoc_gen_swagger.options.SecurityScheme.Flow\x12\x19\n\x11\x61uthorization_url\x18\x06 \x01(\t\x12\x11\n\ttoken_url\x18\x07 \x01(\t\x12?\n\x06scopes\x18\x08 \x01(\x0b\x32/.grpc.gateway.protoc_gen_swagger.options.Scopes\x12[\n\nextensions\x18\t \x03(\x0b\x32G.grpc.gateway.protoc_gen_swagger.options.SecurityScheme.ExtensionsEntry\x1aI\n\x0f\x45xtensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.google.protobuf.Value:\x02\x38\x01"K\n\x04Type\x12\x10\n\x0cTYPE_INVALID\x10\x00\x12\x0e\n\nTYPE_BASIC\x10\x01\x12\x10\n\x0cTYPE_API_KEY\x10\x02\x12\x0f\n\x0bTYPE_OAUTH2\x10\x03"1\n\x02In\x12\x0e\n\nIN_INVALID\x10\x00\x12\x0c\n\x08IN_QUERY\x10\x01\x12\r\n\tIN_HEADER\x10\x02"j\n\x04\x46low\x12\x10\n\x0c\x46LOW_INVALID\x10\x00\x12\x11\n\rFLOW_IMPLICIT\x10\x01\x12\x11\n\rFLOW_PASSWORD\x10\x02\x12\x14\n\x10\x46LOW_APPLICATION\x10\x03\x12\x14\n\x10\x46LOW_ACCESS_CODE\x10\x04"\xc9\x02\n\x13SecurityRequirement\x12s\n\x14security_requirement\x18\x01 \x03(\x0b\x32U.grpc.gateway.protoc_gen_swagger.options.SecurityRequirement.SecurityRequirementEntry\x1a)\n\x18SecurityRequirementValue\x12\r\n\x05scope\x18\x01 \x03(\t\x1a\x91\x01\n\x18SecurityRequirementEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x64\n\x05value\x18\x02 \x01(\x0b\x32U.grpc.gateway.protoc_gen_swagger.options.SecurityRequirement.SecurityRequirementValue:\x02\x38\x01"\x81\x01\n\x06Scopes\x12I\n\x05scope\x18\x01 \x03(\x0b\x32:.grpc.gateway.protoc_gen_swagger.options.Scopes.ScopeEntry\x1a,\n\nScopeEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x43ZAgithub.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/optionsb\x06proto3'
21
+ )
22
+
23
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
24
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'protoc_gen_swagger.options.openapiv2_pb2', globals())
25
+ if _descriptor._USE_C_DESCRIPTORS == False:
26
+ DESCRIPTOR._options = None
27
+ DESCRIPTOR._serialized_options = b'ZAgithub.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options'
28
+ _SWAGGER_RESPONSESENTRY._options = None
29
+ _SWAGGER_RESPONSESENTRY._serialized_options = b'8\001'
30
+ _SWAGGER_EXTENSIONSENTRY._options = None
31
+ _SWAGGER_EXTENSIONSENTRY._serialized_options = b'8\001'
32
+ _OPERATION_RESPONSESENTRY._options = None
33
+ _OPERATION_RESPONSESENTRY._serialized_options = b'8\001'
34
+ _OPERATION_EXTENSIONSENTRY._options = None
35
+ _OPERATION_EXTENSIONSENTRY._serialized_options = b'8\001'
36
+ _RESPONSE_HEADERSENTRY._options = None
37
+ _RESPONSE_HEADERSENTRY._serialized_options = b'8\001'
38
+ _RESPONSE_EXAMPLESENTRY._options = None
39
+ _RESPONSE_EXAMPLESENTRY._serialized_options = b'8\001'
40
+ _RESPONSE_EXTENSIONSENTRY._options = None
41
+ _RESPONSE_EXTENSIONSENTRY._serialized_options = b'8\001'
42
+ _INFO_EXTENSIONSENTRY._options = None
43
+ _INFO_EXTENSIONSENTRY._serialized_options = b'8\001'
44
+ _SCHEMA.fields_by_name['example']._options = None
45
+ _SCHEMA.fields_by_name['example']._serialized_options = b'\030\001'
46
+ _SECURITYDEFINITIONS_SECURITYENTRY._options = None
47
+ _SECURITYDEFINITIONS_SECURITYENTRY._serialized_options = b'8\001'
48
+ _SECURITYSCHEME_EXTENSIONSENTRY._options = None
49
+ _SECURITYSCHEME_EXTENSIONSENTRY._serialized_options = b'8\001'
50
+ _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._options = None
51
+ _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_options = b'8\001'
52
+ _SCOPES_SCOPEENTRY._options = None
53
+ _SCOPES_SCOPEENTRY._serialized_options = b'8\001'
54
+ _SWAGGER._serialized_start = 145
55
+ _SWAGGER._serialized_end = 1073
56
+ _SWAGGER_RESPONSESENTRY._serialized_start = 813
57
+ _SWAGGER_RESPONSESENTRY._serialized_end = 912
58
+ _SWAGGER_EXTENSIONSENTRY._serialized_start = 914
59
+ _SWAGGER_EXTENSIONSENTRY._serialized_end = 987
60
+ _SWAGGER_SWAGGERSCHEME._serialized_start = 989
61
+ _SWAGGER_SWAGGERSCHEME._serialized_end = 1055
62
+ _OPERATION._serialized_start = 1076
63
+ _OPERATION._serialized_end = 1757
64
+ _OPERATION_RESPONSESENTRY._serialized_start = 813
65
+ _OPERATION_RESPONSESENTRY._serialized_end = 912
66
+ _OPERATION_EXTENSIONSENTRY._serialized_start = 914
67
+ _OPERATION_EXTENSIONSENTRY._serialized_end = 987
68
+ _HEADER._serialized_start = 1760
69
+ _HEADER._serialized_end = 1931
70
+ _RESPONSE._serialized_start = 1934
71
+ _RESPONSE._serialized_end = 2502
72
+ _RESPONSE_HEADERSENTRY._serialized_start = 2283
73
+ _RESPONSE_HEADERSENTRY._serialized_end = 2378
74
+ _RESPONSE_EXAMPLESENTRY._serialized_start = 2380
75
+ _RESPONSE_EXAMPLESENTRY._serialized_end = 2427
76
+ _RESPONSE_EXTENSIONSENTRY._serialized_start = 914
77
+ _RESPONSE_EXTENSIONSENTRY._serialized_end = 987
78
+ _INFO._serialized_start = 2505
79
+ _INFO._serialized_end = 2882
80
+ _INFO_EXTENSIONSENTRY._serialized_start = 914
81
+ _INFO_EXTENSIONSENTRY._serialized_end = 987
82
+ _CONTACT._serialized_start = 2884
83
+ _CONTACT._serialized_end = 2935
84
+ _LICENSE._serialized_start = 2937
85
+ _LICENSE._serialized_end = 2973
86
+ _EXTERNALDOCUMENTATION._serialized_start = 2975
87
+ _EXTERNALDOCUMENTATION._serialized_end = 3032
88
+ _SCHEMA._serialized_start = 3035
89
+ _SCHEMA._serialized_end = 3319
90
+ _JSONSCHEMA._serialized_start = 3322
91
+ _JSONSCHEMA._serialized_end = 4061
92
+ _JSONSCHEMA_JSONSCHEMASIMPLETYPES._serialized_start = 3864
93
+ _JSONSCHEMA_JSONSCHEMASIMPLETYPES._serialized_end = 3983
94
+ _TAG._serialized_start = 4063
95
+ _TAG._serialized_end = 4182
96
+ _SECURITYDEFINITIONS._serialized_start = 4185
97
+ _SECURITYDEFINITIONS._serialized_end = 4406
98
+ _SECURITYDEFINITIONS_SECURITYENTRY._serialized_start = 4302
99
+ _SECURITYDEFINITIONS_SECURITYENTRY._serialized_end = 4406
100
+ _SECURITYSCHEME._serialized_start = 4409
101
+ _SECURITYSCHEME._serialized_end = 5199
102
+ _SECURITYSCHEME_EXTENSIONSENTRY._serialized_start = 914
103
+ _SECURITYSCHEME_EXTENSIONSENTRY._serialized_end = 987
104
+ _SECURITYSCHEME_TYPE._serialized_start = 4965
105
+ _SECURITYSCHEME_TYPE._serialized_end = 5040
106
+ _SECURITYSCHEME_IN._serialized_start = 5042
107
+ _SECURITYSCHEME_IN._serialized_end = 5091
108
+ _SECURITYSCHEME_FLOW._serialized_start = 5093
109
+ _SECURITYSCHEME_FLOW._serialized_end = 5199
110
+ _SECURITYREQUIREMENT._serialized_start = 5202
111
+ _SECURITYREQUIREMENT._serialized_end = 5531
112
+ _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE._serialized_start = 5342
113
+ _SECURITYREQUIREMENT_SECURITYREQUIREMENTVALUE._serialized_end = 5383
114
+ _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_start = 5386
115
+ _SECURITYREQUIREMENT_SECURITYREQUIREMENTENTRY._serialized_end = 5531
116
+ _SCOPES._serialized_start = 5534
117
+ _SCOPES._serialized_end = 5663
118
+ _SCOPES_SCOPEENTRY._serialized_start = 5619
119
+ _SCOPES_SCOPEENTRY._serialized_end = 5663
120
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,25 @@
1
+ """
2
+ SPDX-License-Identifier: MIT
3
+
4
+ Copyright (c) 2021, SCANOSS
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
23
+ """
24
+
25
+ __version__ = '1.20.2'
@@ -0,0 +1,23 @@
1
+ """
2
+ SPDX-License-Identifier: MIT
3
+
4
+ Copyright (c) 2021, SCANOSS
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
23
+ """
@@ -0,0 +1,23 @@
1
+ """
2
+ SPDX-License-Identifier: MIT
3
+
4
+ Copyright (c) 2021, SCANOSS
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
23
+ """
@@ -0,0 +1,23 @@
1
+ """
2
+ SPDX-License-Identifier: MIT
3
+
4
+ Copyright (c) 2021, SCANOSS
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
23
+ """
@@ -0,0 +1,36 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: scanoss/api/common/v2/scanoss-common.proto
4
+ """Generated protocol buffer code."""
5
+
6
+ from google.protobuf.internal import builder as _builder
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
16
+ b'\n*scanoss/api/common/v2/scanoss-common.proto\x12\x15scanoss.api.common.v2"T\n\x0eStatusResponse\x12\x31\n\x06status\x18\x01 \x01(\x0e\x32!.scanoss.api.common.v2.StatusCode\x12\x0f\n\x07message\x18\x02 \x01(\t"\x1e\n\x0b\x45\x63hoRequest\x12\x0f\n\x07message\x18\x01 \x01(\t"\x1f\n\x0c\x45\x63hoResponse\x12\x0f\n\x07message\x18\x01 \x01(\t"r\n\x0bPurlRequest\x12\x37\n\x05purls\x18\x01 \x03(\x0b\x32(.scanoss.api.common.v2.PurlRequest.Purls\x1a*\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x13\n\x0brequirement\x18\x02 \x01(\t*`\n\nStatusCode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x1b\n\x17SUCCEEDED_WITH_WARNINGS\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x42/Z-github.com/scanoss/papi/api/commonv2;commonv2b\x06proto3'
17
+ )
18
+
19
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
20
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scanoss.api.common.v2.scanoss_common_pb2', globals())
21
+ if _descriptor._USE_C_DESCRIPTORS == False:
22
+ DESCRIPTOR._options = None
23
+ DESCRIPTOR._serialized_options = b'Z-github.com/scanoss/papi/api/commonv2;commonv2'
24
+ _STATUSCODE._serialized_start = 336
25
+ _STATUSCODE._serialized_end = 432
26
+ _STATUSRESPONSE._serialized_start = 69
27
+ _STATUSRESPONSE._serialized_end = 153
28
+ _ECHOREQUEST._serialized_start = 155
29
+ _ECHOREQUEST._serialized_end = 185
30
+ _ECHORESPONSE._serialized_start = 187
31
+ _ECHORESPONSE._serialized_end = 218
32
+ _PURLREQUEST._serialized_start = 220
33
+ _PURLREQUEST._serialized_end = 334
34
+ _PURLREQUEST_PURLS._serialized_start = 292
35
+ _PURLREQUEST_PURLS._serialized_end = 334
36
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,23 @@
1
+ """
2
+ SPDX-License-Identifier: MIT
3
+
4
+ Copyright (c) 2021, SCANOSS
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
23
+ """
@@ -0,0 +1,23 @@
1
+ """
2
+ SPDX-License-Identifier: MIT
3
+
4
+ Copyright (c) 2021, SCANOSS
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
23
+ """
@@ -0,0 +1,71 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: scanoss/api/components/v2/scanoss-components.proto
4
+ """Generated protocol buffer code."""
5
+
6
+ from google.protobuf.internal import builder as _builder
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import symbol_database as _symbol_database
10
+ # @@protoc_insertion_point(imports)
11
+
12
+ _sym_db = _symbol_database.Default()
13
+
14
+
15
+ from scanoss.api.common.v2 import scanoss_common_pb2 as scanoss_dot_api_dot_common_dot_v2_dot_scanoss__common__pb2
16
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
17
+ from protoc_gen_swagger.options import annotations_pb2 as protoc__gen__swagger_dot_options_dot_annotations__pb2
18
+
19
+
20
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
21
+ b'\n2scanoss/api/components/v2/scanoss-components.proto\x12\x19scanoss.api.components.v2\x1a*scanoss/api/common/v2/scanoss-common.proto\x1a\x1cgoogle/api/annotations.proto\x1a,protoc-gen-swagger/options/annotations.proto"v\n\x11\x43ompSearchRequest\x12\x0e\n\x06search\x18\x01 \x01(\t\x12\x0e\n\x06vendor\x18\x02 \x01(\t\x12\x11\n\tcomponent\x18\x03 \x01(\t\x12\x0f\n\x07package\x18\x04 \x01(\t\x12\r\n\x05limit\x18\x06 \x01(\x05\x12\x0e\n\x06offset\x18\x07 \x01(\x05"\xca\x01\n\rCompStatistic\x12\x1a\n\x12total_source_files\x18\x01 \x01(\x05\x12\x13\n\x0btotal_lines\x18\x02 \x01(\x05\x12\x19\n\x11total_blank_lines\x18\x03 \x01(\x05\x12\x44\n\tlanguages\x18\x04 \x03(\x0b\x32\x31.scanoss.api.components.v2.CompStatistic.Language\x1a\'\n\x08Language\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05\x66iles\x18\x02 \x01(\x05"\xfb\x01\n\x15\x43ompStatisticResponse\x12\x45\n\x05purls\x18\x01 \x03(\x0b\x32\x36.scanoss.api.components.v2.CompStatisticResponse.Purls\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x64\n\x05Purls\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12<\n\nstatistics\x18\x03 \x01(\x0b\x32(.scanoss.api.components.v2.CompStatistic"\xd3\x01\n\x12\x43ompSearchResponse\x12K\n\ncomponents\x18\x01 \x03(\x0b\x32\x37.scanoss.api.components.v2.CompSearchResponse.Component\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1a\x39\n\tComponent\x12\x11\n\tcomponent\x18\x01 \x01(\t\x12\x0c\n\x04purl\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t"1\n\x12\x43ompVersionRequest\x12\x0c\n\x04purl\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05"\xd6\x03\n\x13\x43ompVersionResponse\x12K\n\tcomponent\x18\x01 \x01(\x0b\x32\x38.scanoss.api.components.v2.CompVersionResponse.Component\x12\x35\n\x06status\x18\x02 \x01(\x0b\x32%.scanoss.api.common.v2.StatusResponse\x1aO\n\x07License\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07spdx_id\x18\x02 \x01(\t\x12\x18\n\x10is_spdx_approved\x18\x03 \x01(\x08\x12\x0b\n\x03url\x18\x04 \x01(\t\x1a\x64\n\x07Version\x12\x0f\n\x07version\x18\x01 \x01(\t\x12H\n\x08licenses\x18\x04 \x03(\x0b\x32\x36.scanoss.api.components.v2.CompVersionResponse.License\x1a\x83\x01\n\tComponent\x12\x11\n\tcomponent\x18\x01 \x01(\t\x12\x0c\n\x04purl\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12H\n\x08versions\x18\x04 \x03(\x0b\x32\x36.scanoss.api.components.v2.CompVersionResponse.Version2\xd4\x04\n\nComponents\x12s\n\x04\x45\x63ho\x12".scanoss.api.common.v2.EchoRequest\x1a#.scanoss.api.common.v2.EchoResponse""\x82\xd3\xe4\x93\x02\x1c"\x17/api/v2/components/echo:\x01*\x12\x95\x01\n\x10SearchComponents\x12,.scanoss.api.components.v2.CompSearchRequest\x1a-.scanoss.api.components.v2.CompSearchResponse"$\x82\xd3\xe4\x93\x02\x1e"\x19/api/v2/components/search:\x01*\x12\x9d\x01\n\x14GetComponentVersions\x12-.scanoss.api.components.v2.CompVersionRequest\x1a..scanoss.api.components.v2.CompVersionResponse"&\x82\xd3\xe4\x93\x02 "\x1b/api/v2/components/versions:\x01*\x12\x98\x01\n\x16GetComponentStatistics\x12".scanoss.api.common.v2.PurlRequest\x1a\x30.scanoss.api.components.v2.CompStatisticResponse"(\x82\xd3\xe4\x93\x02""\x1d/api/v2/components/statistics:\x01*B\x94\x02Z5github.com/scanoss/papi/api/componentsv2;componentsv2\x92\x41\xd9\x01\x12s\n\x1aSCANOSS Components Service"P\n\x12scanoss-components\x12%https://github.com/scanoss/components\x1a\x13support@scanoss.com2\x03\x32.0*\x01\x01\x32\x10\x61pplication/json:\x10\x61pplication/jsonR;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07\x62\x06proto3'
22
+ )
23
+
24
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
25
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scanoss.api.components.v2.scanoss_components_pb2', globals())
26
+ if _descriptor._USE_C_DESCRIPTORS == False:
27
+ DESCRIPTOR._options = None
28
+ DESCRIPTOR._serialized_options = b'Z5github.com/scanoss/papi/api/componentsv2;componentsv2\222A\331\001\022s\n\032SCANOSS Components Service"P\n\022scanoss-components\022%https://github.com/scanoss/components\032\023support@scanoss.com2\0032.0*\001\0012\020application/json:\020application/jsonR;\n\003404\0224\n*Returned when the resource does not exist.\022\006\n\004\232\002\001\007'
29
+ _COMPONENTS.methods_by_name['Echo']._options = None
30
+ _COMPONENTS.methods_by_name[
31
+ 'Echo'
32
+ ]._serialized_options = b'\202\323\344\223\002\034"\027/api/v2/components/echo:\001*'
33
+ _COMPONENTS.methods_by_name['SearchComponents']._options = None
34
+ _COMPONENTS.methods_by_name[
35
+ 'SearchComponents'
36
+ ]._serialized_options = b'\202\323\344\223\002\036"\031/api/v2/components/search:\001*'
37
+ _COMPONENTS.methods_by_name['GetComponentVersions']._options = None
38
+ _COMPONENTS.methods_by_name[
39
+ 'GetComponentVersions'
40
+ ]._serialized_options = b'\202\323\344\223\002 "\033/api/v2/components/versions:\001*'
41
+ _COMPONENTS.methods_by_name['GetComponentStatistics']._options = None
42
+ _COMPONENTS.methods_by_name[
43
+ 'GetComponentStatistics'
44
+ ]._serialized_options = b'\202\323\344\223\002""\035/api/v2/components/statistics:\001*'
45
+ _COMPSEARCHREQUEST._serialized_start = 201
46
+ _COMPSEARCHREQUEST._serialized_end = 319
47
+ _COMPSTATISTIC._serialized_start = 322
48
+ _COMPSTATISTIC._serialized_end = 524
49
+ _COMPSTATISTIC_LANGUAGE._serialized_start = 485
50
+ _COMPSTATISTIC_LANGUAGE._serialized_end = 524
51
+ _COMPSTATISTICRESPONSE._serialized_start = 527
52
+ _COMPSTATISTICRESPONSE._serialized_end = 778
53
+ _COMPSTATISTICRESPONSE_PURLS._serialized_start = 678
54
+ _COMPSTATISTICRESPONSE_PURLS._serialized_end = 778
55
+ _COMPSEARCHRESPONSE._serialized_start = 781
56
+ _COMPSEARCHRESPONSE._serialized_end = 992
57
+ _COMPSEARCHRESPONSE_COMPONENT._serialized_start = 935
58
+ _COMPSEARCHRESPONSE_COMPONENT._serialized_end = 992
59
+ _COMPVERSIONREQUEST._serialized_start = 994
60
+ _COMPVERSIONREQUEST._serialized_end = 1043
61
+ _COMPVERSIONRESPONSE._serialized_start = 1046
62
+ _COMPVERSIONRESPONSE._serialized_end = 1516
63
+ _COMPVERSIONRESPONSE_LICENSE._serialized_start = 1201
64
+ _COMPVERSIONRESPONSE_LICENSE._serialized_end = 1280
65
+ _COMPVERSIONRESPONSE_VERSION._serialized_start = 1282
66
+ _COMPVERSIONRESPONSE_VERSION._serialized_end = 1382
67
+ _COMPVERSIONRESPONSE_COMPONENT._serialized_start = 1385
68
+ _COMPVERSIONRESPONSE_COMPONENT._serialized_end = 1516
69
+ _COMPONENTS._serialized_start = 1519
70
+ _COMPONENTS._serialized_end = 2115
71
+ # @@protoc_insertion_point(module_scope)