lib/oapi/open_api/v30/links.rb in oapi-0.1.2 vs lib/oapi/open_api/v30/links.rb in oapi-0.1.3
- old
+ new
@@ -7,18 +7,9 @@
property :request_body
property :description
property :parameters # TODO: a custom type? https://spec.openapis.org/oas/v3.0.3#fixed-fields-16
property :server, OAPI::OpenAPI::V30::Servers::Server
-
- class << self
- def parse(json)
- ref = json[:$ref]
- return OAPI::Ref.new(ref) if ref
-
- super
- end
- end
end
item :link, Link
end