Skip to content

Commit 9e0f98c

Browse files
committed
Updated on 2019-11-09 01:22:00. Version: 1.0.0
0 parents  commit 9e0f98c

109 files changed

Lines changed: 15218 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
*.class
2+
3+
# Mobile Tools for Java (J2ME)
4+
.mtj.tmp/
5+
6+
# Package Files #
7+
*.jar
8+
*.war
9+
*.ear
10+
11+
# exclude jar for gradle wrapper
12+
!gradle/wrapper/*.jar
13+
14+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
15+
hs_err_pid*
16+
17+
# build files
18+
**/target
19+
target
20+
.gradle
21+
build
22+
bin

.openapi-generator-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.3.0-SNAPSHOT

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#
2+
# Generated by: https://openapi-generator.tech
3+
#
4+
language: java
5+
jdk:
6+
- oraclejdk8
7+
- oraclejdk7
8+
before_install:
9+
# ensure gradlew has proper permission
10+
- chmod a+x ./gradlew
11+
script:
12+
# test using maven
13+
- mvn test
14+
# uncomment below to test using gradle
15+
# - gradle test
16+
# uncomment below to test using sbt
17+
# - sbt test

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
### 1.9.0 [October 10, 2019]
2+
3+
- Add permanent_download_url attribute to Submission model
4+
5+
### 1.8.0 [October 9, 2019]
6+
7+
- Add parent folder ID and path params to GET template response
8+
- Add parent folder ID param when creating a new template, so you can upload a template into a folder
9+
10+
### 1.7.0 [July 31, 2019]
11+
* Added Create Folder, List Folder, Move to Folder endpoints
12+
13+
### 1.6.0 [June 22, 2019]
14+
15+
- **BREAKING CHANGE** Renamed "Get Templates" endpoint to "List Templates". Added a search query parameter.
16+
17+
### 1.5.0 [April 11, 2019]
18+
19+
- Added support for editable PDFS (editable: true)
20+
21+
### 1.4.0 [December 23, 2018]
22+
23+
- Added CustomFiles, and combinePdf call to support many different types of source PDFs. Renamed a few models
24+
25+
### 1.3.0 [December 18, 2018]
26+
27+
- Updated API host to api.formapi.io
28+
29+
### 1.2.0 [December 13, 2018]
30+
31+
- Fix model name for newly created Templates (PendingTemplate)
32+
- Added "actions" to submission and combined_submission responses. Includes information about custom S3 uploads
33+
34+
### 1.1.0 [December 1, 2018]
35+
36+
- Added Create Template, Get Template, and Get Template Schema endpoints
37+
38+
### 1.0.0 [November 4, 2018]
39+
40+
- Initial changelog

LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright © 2018 Form Applications Inc.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# DocSpring
2+
3+
## Requirements
4+
5+
Building the API client library requires [Maven](https://maven.apache.org/) to be installed.
6+
7+
## Installation & Usage
8+
9+
To install the API client library to your local Maven repository, simply execute:
10+
11+
```shell
12+
mvn install
13+
```
14+
15+
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
16+
17+
```shell
18+
mvn deploy
19+
```
20+
21+
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information.
22+
23+
After the client library is installed/deployed, you can use it in your Maven project by adding the following to your *pom.xml*:
24+
25+
```xml
26+
<dependency>
27+
<groupId>com.docspring</groupId>
28+
<artifactId>DocSpring</artifactId>
29+
<version>1.0.0</version>
30+
<scope>compile</scope>
31+
</dependency>
32+
33+
```
34+
35+
## Author
36+
37+
38+
39+

build.gradle

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
apply plugin: 'idea'
2+
apply plugin: 'eclipse'
3+
4+
group = 'com.docspring'
5+
version = '1.0.0'
6+
7+
buildscript {
8+
repositories {
9+
jcenter()
10+
}
11+
dependencies {
12+
classpath 'com.android.tools.build:gradle:2.3.+'
13+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
14+
}
15+
}
16+
17+
repositories {
18+
jcenter()
19+
}
20+
21+
22+
if(hasProperty('target') && target == 'android') {
23+
24+
apply plugin: 'com.android.library'
25+
apply plugin: 'com.github.dcendents.android-maven'
26+
27+
android {
28+
compileSdkVersion 25
29+
buildToolsVersion '25.0.2'
30+
defaultConfig {
31+
minSdkVersion 14
32+
targetSdkVersion 25
33+
}
34+
compileOptions {
35+
sourceCompatibility JavaVersion.VERSION_1_7
36+
targetCompatibility JavaVersion.VERSION_1_7
37+
}
38+
39+
// Rename the aar correctly
40+
libraryVariants.all { variant ->
41+
variant.outputs.each { output ->
42+
def outputFile = output.outputFile
43+
if (outputFile != null && outputFile.name.endsWith('.aar')) {
44+
def fileName = "${project.name}-${variant.baseName}-${version}.aar"
45+
output.outputFile = new File(outputFile.parent, fileName)
46+
}
47+
}
48+
}
49+
50+
dependencies {
51+
provided 'javax.annotation:jsr250-api:1.0'
52+
}
53+
}
54+
55+
afterEvaluate {
56+
android.libraryVariants.all { variant ->
57+
def task = project.tasks.create "jar${variant.name.capitalize()}", Jar
58+
task.description = "Create jar artifact for ${variant.name}"
59+
task.dependsOn variant.javaCompile
60+
task.from variant.javaCompile.destinationDir
61+
task.destinationDir = project.file("${project.buildDir}/outputs/jar")
62+
task.archiveName = "${project.name}-${variant.baseName}-${version}.jar"
63+
artifacts.add('archives', task);
64+
}
65+
}
66+
67+
task sourcesJar(type: Jar) {
68+
from android.sourceSets.main.java.srcDirs
69+
classifier = 'sources'
70+
}
71+
72+
artifacts {
73+
archives sourcesJar
74+
}
75+
76+
} else {
77+
78+
apply plugin: 'java'
79+
apply plugin: 'maven'
80+
81+
sourceCompatibility = JavaVersion.VERSION_1_7
82+
targetCompatibility = JavaVersion.VERSION_1_7
83+
84+
install {
85+
repositories.mavenInstaller {
86+
pom.artifactId = 'DocSpring'
87+
}
88+
}
89+
90+
task execute(type:JavaExec) {
91+
main = System.getProperty('mainClass')
92+
classpath = sourceSets.main.runtimeClasspath
93+
}
94+
}
95+
96+
ext {
97+
oltu_version = "1.0.1"
98+
retrofit_version = "2.3.0"
99+
swagger_annotations_version = "1.5.21"
100+
junit_version = "4.12"
101+
threetenbp_version = "1.3.5"
102+
json_fire_version = "1.8.0"
103+
}
104+
105+
dependencies {
106+
compile "com.squareup.retrofit2:retrofit:$retrofit_version"
107+
compile "com.squareup.retrofit2:converter-scalars:$retrofit_version"
108+
compile "com.squareup.retrofit2:converter-gson:$retrofit_version"
109+
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
110+
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"){
111+
exclude group:'org.apache.oltu.oauth2' , module: 'org.apache.oltu.oauth2.common'
112+
}
113+
compile "io.gsonfire:gson-fire:$json_fire_version"
114+
compile "org.threeten:threetenbp:$threetenbp_version"
115+
116+
testCompile "junit:junit:$junit_version"
117+
testCompile "org.hamcrest:hamcrest-all:1.3"
118+
}

build.sbt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
lazy val root = (project in file(".")).
2+
settings(
3+
organization := "com.docspring",
4+
name := "DocSpring",
5+
version := "1.0.0",
6+
scalaVersion := "2.11.4",
7+
scalacOptions ++= Seq("-feature"),
8+
javacOptions in compile ++= Seq("-Xlint:deprecation"),
9+
publishArtifact in (Compile, packageDoc) := false,
10+
resolvers += Resolver.mavenLocal,
11+
libraryDependencies ++= Seq(
12+
"com.squareup.retrofit2" % "retrofit" % "2.3.0" % "compile",
13+
"com.squareup.retrofit2" % "converter-scalars" % "2.3.0" % "compile",
14+
"com.squareup.retrofit2" % "converter-gson" % "2.3.0" % "compile",
15+
"io.swagger" % "swagger-annotations" % "1.5.21" % "compile",
16+
"org.apache.oltu.oauth2" % "org.apache.oltu.oauth2.client" % "1.0.1" % "compile",
17+
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
18+
"io.gsonfire" % "gson-fire" % "1.8.0" % "compile",
19+
"junit" % "junit" % "4.12" % "test",
20+
"com.novocode" % "junit-interface" % "0.11" % "test"
21+
)
22+
)

docs/AuthenticationError.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# AuthenticationError
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**status** | [**StatusEnum**](#StatusEnum) | | [optional]
8+
**error** | **String** | |
9+
10+
11+
<a name="StatusEnum"></a>
12+
## Enum: StatusEnum
13+
Name | Value
14+
---- | -----
15+
ERROR | &quot;error&quot;
16+
17+
18+

0 commit comments

Comments
 (0)