Skip to content

Commit 33e3983

Browse files
committed
Added documentation
1 parent 8f98188 commit 33e3983

File tree

22 files changed

+1415
-34
lines changed

22 files changed

+1415
-34
lines changed

docs/generator.png

56.4 KB
Loading

docs/generator.puml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@startuml
2+
3+
abstract class CodeGenerator{
4+
#language: Language
5+
#displayName: String
6+
#client: Client
7+
+ String code(final HarRequest harRequest) throws Exception
8+
# {abstract} String generateCode(final CodeRequest harRequest) throws Exception
9+
}
10+
11+
Swift ---|> CodeGenerator
12+
Fetch ---|> CodeGenerator
13+
Unirest ---|> CodeGenerator
14+
XMLHttpRequest ---|> CodeGenerator
15+
Curl ---|> CodeGenerator
16+
NodeUnirest ---|> CodeGenerator
17+
PowerShell ---|> CodeGenerator
18+
OkHttp ---|> CodeGenerator
19+
RubyNative ---|> CodeGenerator
20+
PythonRequests ---|> CodeGenerator
21+
CodeGenerator <|--- JQuery
22+
CodeGenerator <|--- Python3Native
23+
CodeGenerator <|--- LibCurl
24+
CodeGenerator <|--- GoNative
25+
CodeGenerator <|--- NodeNative
26+
CodeGenerator <|--- RestSharp
27+
CodeGenerator <|--- NodeRequest
28+
CodeGenerator <|--- ObjNSURLSession
29+
CodeGenerator <|--- CljHttp
30+
CodeGenerator <|--- Jsoup
31+
32+
@enduml

docs/highlight/highlight.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/* a11y-dark theme */
2+
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
3+
/* @author: ericwbailey */
4+
5+
/* Comment */
6+
.hljs-comment,
7+
.hljs-quote {
8+
color: #d4d0ab;
9+
}
10+
11+
/* Red */
12+
.hljs-variable,
13+
.hljs-template-variable,
14+
.hljs-tag,
15+
.hljs-name,
16+
.hljs-selector-id,
17+
.hljs-selector-class,
18+
.hljs-regexp,
19+
.hljs-deletion {
20+
color: #ffa07a;
21+
}
22+
23+
/* Orange */
24+
.hljs-number,
25+
.hljs-built_in,
26+
.hljs-builtin-name,
27+
.hljs-literal,
28+
.hljs-type,
29+
.hljs-params,
30+
.hljs-meta,
31+
.hljs-link {
32+
color: #f5ab35;
33+
}
34+
35+
/* Yellow */
36+
.hljs-attribute {
37+
color: #ffd700;
38+
}
39+
40+
/* Green */
41+
.hljs-string,
42+
.hljs-symbol,
43+
.hljs-bullet,
44+
.hljs-addition {
45+
color: #abe338;
46+
}
47+
48+
/* Blue */
49+
.hljs-title,
50+
.hljs-section {
51+
color: #00e0e0;
52+
}
53+
54+
/* Purple */
55+
.hljs-keyword,
56+
.hljs-selector-tag {
57+
color: #dcc6e0;
58+
}
59+
60+
.hljs {
61+
display: block;
62+
overflow-x: auto;
63+
background: #2b2b2b;
64+
color: #f8f8f2;
65+
padding: 0.5em;
66+
}
67+
68+
.hljs-emphasis {
69+
font-style: italic;
70+
}
71+
72+
.hljs-strong {
73+
font-weight: bold;
74+
}
75+
76+
@media screen and (-ms-high-contrast: active) {
77+
.hljs-addition,
78+
.hljs-attribute,
79+
.hljs-built_in,
80+
.hljs-builtin-name,
81+
.hljs-bullet,
82+
.hljs-comment,
83+
.hljs-link,
84+
.hljs-literal,
85+
.hljs-meta,
86+
.hljs-number,
87+
.hljs-params,
88+
.hljs-string,
89+
.hljs-symbol,
90+
.hljs-type,
91+
.hljs-quote {
92+
color: highlight;
93+
}
94+
95+
.hljs-keyword,
96+
.hljs-selector-tag {
97+
font-weight: bold;
98+
}
99+
}
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/* a11y-light theme */
2+
/* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
3+
/* @author: ericwbailey */
4+
5+
/* Comment */
6+
.hljs-comment,
7+
.hljs-quote {
8+
color: #696969;
9+
}
10+
11+
/* Red */
12+
.hljs-variable,
13+
.hljs-template-variable,
14+
.hljs-tag,
15+
.hljs-name,
16+
.hljs-selector-id,
17+
.hljs-selector-class,
18+
.hljs-regexp,
19+
.hljs-deletion {
20+
color: #d91e18;
21+
}
22+
23+
/* Orange */
24+
.hljs-number,
25+
.hljs-built_in,
26+
.hljs-builtin-name,
27+
.hljs-literal,
28+
.hljs-type,
29+
.hljs-params,
30+
.hljs-meta,
31+
.hljs-link {
32+
color: #aa5d00;
33+
}
34+
35+
/* Yellow */
36+
.hljs-attribute {
37+
color: #aa5d00;
38+
}
39+
40+
/* Green */
41+
.hljs-string,
42+
.hljs-symbol,
43+
.hljs-bullet,
44+
.hljs-addition {
45+
color: #008000;
46+
}
47+
48+
/* Blue */
49+
.hljs-title,
50+
.hljs-section {
51+
color: #007faa;
52+
}
53+
54+
/* Purple */
55+
.hljs-keyword,
56+
.hljs-selector-tag {
57+
color: #7928a1;
58+
}
59+
60+
.hljs {
61+
display: block;
62+
overflow-x: auto;
63+
background: #fefefe;
64+
color: #545454;
65+
padding: 0.5em;
66+
}
67+
68+
.hljs-emphasis {
69+
font-style: italic;
70+
}
71+
72+
.hljs-strong {
73+
font-weight: bold;
74+
}
75+
76+
@media screen and (-ms-high-contrast: active) {
77+
.hljs-addition,
78+
.hljs-attribute,
79+
.hljs-built_in,
80+
.hljs-builtin-name,
81+
.hljs-bullet,
82+
.hljs-comment,
83+
.hljs-link,
84+
.hljs-literal,
85+
.hljs-meta,
86+
.hljs-number,
87+
.hljs-params,
88+
.hljs-string,
89+
.hljs-symbol,
90+
.hljs-type,
91+
.hljs-quote {
92+
color: highlight;
93+
}
94+
95+
.hljs-keyword,
96+
.hljs-selector-tag {
97+
font-weight: bold;
98+
}
99+
}
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/*
2+
3+
Atom One Dark With support for ReasonML by Gidi Morris, based off work by Daniel Gamage
4+
5+
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
6+
7+
*/
8+
.hljs {
9+
display: block;
10+
overflow-x: auto;
11+
padding: 0.5em;
12+
line-height: 1.3em;
13+
color: #abb2bf;
14+
background: #282c34;
15+
border-radius: 5px;
16+
}
17+
.hljs-keyword, .hljs-operator {
18+
color: #F92672;
19+
}
20+
.hljs-pattern-match {
21+
color: #F92672;
22+
}
23+
.hljs-pattern-match .hljs-constructor {
24+
color: #61aeee;
25+
}
26+
.hljs-function {
27+
color: #61aeee;
28+
}
29+
.hljs-function .hljs-params {
30+
color: #A6E22E;
31+
}
32+
.hljs-function .hljs-params .hljs-typing {
33+
color: #FD971F;
34+
}
35+
.hljs-module-access .hljs-module {
36+
color: #7e57c2;
37+
}
38+
.hljs-constructor {
39+
color: #e2b93d;
40+
}
41+
.hljs-constructor .hljs-string {
42+
color: #9CCC65;
43+
}
44+
.hljs-comment, .hljs-quote {
45+
color: #b18eb1;
46+
font-style: italic;
47+
}
48+
.hljs-doctag, .hljs-formula {
49+
color: #c678dd;
50+
}
51+
.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst {
52+
color: #e06c75;
53+
}
54+
.hljs-literal {
55+
color: #56b6c2;
56+
}
57+
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {
58+
color: #98c379;
59+
}
60+
.hljs-built_in, .hljs-class .hljs-title {
61+
color: #e6c07b;
62+
}
63+
.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number {
64+
color: #d19a66;
65+
}
66+
.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title {
67+
color: #61aeee;
68+
}
69+
.hljs-emphasis {
70+
font-style: italic;
71+
}
72+
.hljs-strong {
73+
font-weight: bold;
74+
}
75+
.hljs-link {
76+
text-decoration: underline;
77+
}

0 commit comments

Comments
 (0)