oas_rails 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52858aae429b158f26e303387df144ff64845bb420e7abc329495c6c984a5f2a
|
4
|
+
data.tar.gz: 39ed4dbc661f79d9ecc289900004ae18a07726300762beabffca1714b2f9de8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2666274a5c7fe0656adef0a5d56593885f4f85eccfe7a4c4708d29e2a86f7f79afb5d830a97e7ff6902cab8f554243b2302b4887b82efcbc3111150d784ee385
|
7
|
+
data.tar.gz: c12f2cde7a1f1ce6cf2ff950971e50de455f9938456ad423d2235916c121972b5c4dbe08a873dd0dd57ee2878f59d11a2a9dca0ee8301fd433582e03bcf0a844
|
data/README.md
CHANGED
@@ -164,13 +164,13 @@ Documents the request body needed by the endpoint. The structure is optional if
|
|
164
164
|
|
165
165
|
**Example**:
|
166
166
|
|
167
|
-
`# @request_body The user to be created [!Hash{user: {name: String, age: Integer, password: String}}]`
|
167
|
+
`# @request_body The user to be created [!Hash{user: Hash{name: String, age: Integer, password: String}}]`
|
168
168
|
|
169
169
|
`# @request_body The user to be created [!User]`
|
170
170
|
|
171
171
|
`# @request_body The user to be created [User]`
|
172
172
|
|
173
|
-
`# @request_body The user to be created [!Hash{user: {name: String, age: Integer, password: String, surnames: Array<String>, coords: Hash{lat: String, lng: String}}}]`
|
173
|
+
`# @request_body The user to be created [!Hash{user: Hash{name: String, age: Integer, password: String, surnames: Array<String>, coords: Hash{lat: String, lng: String}}}]`
|
174
174
|
|
175
175
|
</details>
|
176
176
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title
|
4
|
+
<title><%= OasRails.config.info.title %></title>
|
5
5
|
<%= csrf_meta_tags %>
|
6
6
|
<%= csp_meta_tag %>
|
7
7
|
<meta charset="utf-8">
|
@@ -9,11 +9,11 @@
|
|
9
9
|
<script type="module" src="https://unpkg.com/rapidoc/dist/rapidoc-min.js"></script>
|
10
10
|
</head>
|
11
11
|
<body>
|
12
|
-
<rapi-doc
|
13
|
-
spec-url = "<%= OasRails::Engine.routes.find_script_name({}) %>.json"
|
14
|
-
theme = "dark"
|
12
|
+
<rapi-doc
|
13
|
+
spec-url = "<%= OasRails::Engine.routes.find_script_name({}) %>.json"
|
14
|
+
theme = "dark"
|
15
15
|
bg-color="#0F172A"
|
16
|
-
text-color= "#f7f7f7"
|
16
|
+
text-color= "#f7f7f7"
|
17
17
|
show-header = 'false'
|
18
18
|
primary-color = "#2de410"
|
19
19
|
font-size="largest"
|
@@ -21,7 +21,7 @@
|
|
21
21
|
nav-text-color="#f7f7f7"
|
22
22
|
nav-item-spacing="relaxed"
|
23
23
|
allow-spec-file-download="true"
|
24
|
-
>
|
24
|
+
>
|
25
25
|
</rapi-doc>
|
26
26
|
</body>
|
27
27
|
</html>
|
@@ -2,6 +2,7 @@
|
|
2
2
|
OasRails.configure do |config|
|
3
3
|
# Basic Information about the API
|
4
4
|
config.info.title = 'OasRails'
|
5
|
+
config.info.version = '1.0.0'
|
5
6
|
config.info.summary = 'OasRails: Automatic Interactive API Documentation for Rails'
|
6
7
|
config.info.description = <<~HEREDOC
|
7
8
|
# Welcome to OasRails
|
data/lib/oas_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oas_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a-chacon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: method_source
|