Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
GLIS Client
Commits
f7685b7a
Commit
f7685b7a
authored
Jun 29, 2017
by
Matija Obreza
Browse files
Added csharp project
parent
61d2bee0
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
f7685b7a
...
...
@@ -10,6 +10,7 @@ We provide different flavors of the library (with different dependencies):
-
**[glis-client-jersey2](jersey2)**
-
**[glis-client-resttemplate](resttemplate)**
using Spring REST Template
-
[
glis-client-resteasy
](
resteasy
)
(
needs
testing)
-
[
glis-client-csharp
](
csharp
)
(
needs
.Net contributors)
## Maven users
...
...
csharp/README.md
0 → 100644
View file @
f7685b7a
# GLIS API Client
This is the .Net client library for the Global Information System.
To generate the C# code, proceed as follows:
```
cd csharp
mvn generate-sources
```
The VS project code will be generated in
`target/generate-sources/swagger/src`
folder.
csharp/pom.xml
0 → 100644
View file @
f7685b7a
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<groupId>
org.genesys-pgr
</groupId>
<artifactId>
glis-client-project
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<relativePath>
../..
</relativePath>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
glis-client-csharp
</artifactId>
<packaging>
pom
</packaging>
<name>
GLIS API client (csharp)
</name>
<description>
API client for the Global Information System for plant genetic resources for food and agriculture (PGRFA) for .Net
</description>
<properties>
<swagger-codegen.language>
csharp
</swagger-codegen.language>
<swagger-codegen.library></swagger-codegen.library>
<jersey-version>
2.22.2
</jersey-version>
<jackson-version>
2.7.5
</jackson-version>
</properties>
<dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-codegen-maven-plugin
</artifactId>
<version>
${swagger-codegen.version}
</version>
<executions>
<execution>
<goals>
<goal>
generate
</goal>
</goals>
<configuration>
<inputSpec>
${project.basedir}/../swagger/v1/glis.yml
</inputSpec>
<language>
${swagger-codegen.language}
</language>
<library>
${swagger-codegen.library}
</library>
<modelPackage>
Model
</modelPackage>
<apiPackage>
API
</apiPackage>
<invokerPackage>
Invoker
</invokerPackage>
<output>
${generated-sources-path}
</output>
<configOptions>
<packageName>
Genesys.GLIS.V1
</packageName>
<packageVersion>
${project.version}
</packageVersion>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment