apia-open_api 0.1.11 → 0.1.13
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4294baef2798a1582c488977cfdd6c299a32ac502cb1329b3b2b1feb47dc523f
|
|
4
|
+
data.tar.gz: 66b7dd9d6c60d52aaa70193d3339f0aa3a9cfa789093014fba07076a0b32ce7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 987224a1e5bbd4b7ab22231f2cde39f6a9b5bf2d8f693988415af75f513c059597c29736efb00534d884625092fc8949b5ebf780c21164684a224e5b717643c9
|
|
7
|
+
data.tar.gz: 0dea02d366c0d00a6d3d7aab8e3bb9d95262624cb845386117c5e77f2b627282c8d1e3ec2639dbc5b67079753c1c4f86e8527d402d8f7114900b3ff4d660dce2
|
|
@@ -146,6 +146,8 @@ module Apia
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
def add_lookup_description(description)
|
|
149
|
+
return unless @argument.type.klass.ancestors.include?(Apia::LookupArgumentSet)
|
|
150
|
+
|
|
149
151
|
add_description_section(
|
|
150
152
|
description,
|
|
151
153
|
"All '#{@argument.name}[]' params are mutually exclusive, only one can be provided."
|
|
@@ -139,7 +139,7 @@ module Apia
|
|
|
139
139
|
auth.each_key do |key|
|
|
140
140
|
scopes = @route.endpoint.definition.scopes
|
|
141
141
|
if scope_prefix = @spec[:components][:securitySchemes][key][:"x-scope-prefix"]
|
|
142
|
-
scopes = scopes.map { |v| "#{scope_prefix}
|
|
142
|
+
scopes = scopes.map { |v| "#{scope_prefix}#{v}" }
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
@route_spec[:security] << { key => scopes }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apia-open_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Paul Sturgess
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-09-
|
|
11
|
+
date: 2024-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|