Skip to content

Commit 173b85b

Browse files
committed
Regenerate all clients.
1 parent 223e675 commit 173b85b

File tree

41,142 files changed

+4010603
-0
lines changed

Some content is hidden

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

41,142 files changed

+4010603
-0
lines changed
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
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.openapi-generator-ignore
2+
.properties
3+
README.md
4+
config.gpr
5+
defaultpackage.gpr
6+
src/-server.adb
7+
src/-servers.adb
8+
src/-servers.ads
9+
src/.ads
10+
src/aws/_aws.adb
11+
src/ews/_ews.adb
12+
src/model/-models.adb
13+
src/model/-models.ads
14+
src/server/-skeletons.adb
15+
src/server/-skeletons.ads
16+
web/swagger/openapi.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.9.0
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
swagger.dir=web
2+
swagger.web.enable=false
3+
swagger.ui.enable=true
4+
swagger.port=8080
5+
swagger.apps=app
6+
swagger.users=users
7+
swagger.key=NTk4YzEyODNhMjM4IDJjMjNkOGFiNThkYSBkZWExOTQ1MTQ2YjkgZmIxNGM4NWY4OGQzCg
8+
9+
app.list=1
10+
app.1.client_id=test-app
11+
app.1.client_secret=test-app-secret
12+
app.1.scope=none
13+
14+
users.list=1,2
15+
users.1.username=admin
16+
users.1.password=admin
17+
users.2.username=test
18+
users.2.password=test
19+
20+
# Configuration for log4j
21+
log4j.rootCategory=DEBUG,console,result
22+
log4j.appender.console=Console
23+
log4j.appender.console.level=DEBUG
24+
log4j.appender.console.layout=level-message
25+
log4j.appender.result=File
26+
log4j.appender.result.File=defaultPackage.log
27+
28+
# Logger configuration
29+
log4j.logger.log=WARN
30+
log4j.logger.Util.Properties=DEBUG
31+
log4j.logger.Util.Log=WARN
32+
log4j.logger.Util=DEBUG
33+
log4j.logger.Servlet=DEBUG
34+
log4j.logger.Util.Serialize.Mappers=WARN
35+
log4j.logger.Util.Serialize.IO=INFO

clients/ada-server/generated/README.md

Lines changed: 400 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
abstract project Config is
2+
for Source_Dirs use ();
3+
4+
type Yes_No is ("yes", "no");
5+
6+
type Library_Type_Type is ("relocatable", "static", "static-pic");
7+
8+
type Build_Type is ("distrib", "debug", "optimize", "profile", "coverage");
9+
Mode : Build_Type := external ("BUILD", "debug");
10+
11+
Processors := External ("PROCESSORS", "1");
12+
13+
package Builder is
14+
for Default_Switches ("Ada") use ("-j" & Processors);
15+
end Builder;
16+
17+
package compiler is
18+
warnings := ("-gnatwua");
19+
defaults := ("-gnat2012");
20+
case Mode is
21+
when "distrib" =>
22+
for Default_Switches ("Ada") use defaults & ("-O2", "-gnatafno", "-gnatVa", "-gnatwa");
23+
24+
when "debug" =>
25+
for Default_Switches ("Ada") use defaults & warnings
26+
& ("-g", "-gnata", "-gnatVaMI", "-gnaty3abcefhiklmnprstxM127");
27+
28+
when "coverage" =>
29+
for Default_Switches ("Ada") use defaults & warnings
30+
& ("-g", "-O2", "-gnata", "-gnatVaMI", "-gnaty3abcefhiklmnprstxM127",
31+
"-fprofile-arcs", "-ftest-coverage");
32+
33+
when "optimize" =>
34+
for Default_Switches ("Ada") use defaults & warnings
35+
& ("-O2", "-gnatn", "-gnatp", "-fdata-sections", "-ffunction-sections");
36+
37+
when "profile" =>
38+
for Default_Switches ("Ada") use defaults & warnings & ("-pg");
39+
40+
end case;
41+
end compiler;
42+
43+
package binder is
44+
case Mode is
45+
when "debug" =>
46+
for Default_Switches ("Ada") use ("-E");
47+
48+
when others =>
49+
for Default_Switches ("Ada") use ("-E");
50+
51+
end case;
52+
end binder;
53+
54+
package linker is
55+
case Mode is
56+
when "profile" =>
57+
for Default_Switches ("Ada") use ("-pg");
58+
59+
when "distrib" =>
60+
for Default_Switches ("Ada") use ("-s");
61+
62+
when "optimize" =>
63+
for Default_Switches ("Ada") use ("-Wl,--gc-sections");
64+
65+
when "coverage" =>
66+
for Default_Switches ("ada") use ("-fprofile-arcs");
67+
68+
when others =>
69+
null;
70+
end case;
71+
72+
end linker;
73+
74+
package Ide is
75+
for VCS_Kind use "git";
76+
end Ide;
77+
78+
end Config;
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
-- OpenAI API
2+
-- The OpenAI REST API. Please see https://platform.openai.com/docs/api_reference for more details.
3+
-- The version of the OpenAPI document: 1.0.0
4+
--
5+
-- https://openapi-generator.tech
6+
--
7+
-- NOTE: Auto generated by OpenAPI Generator (https://openapi-generator.tech).
8+
with "config";
9+
with "utilada_sys";
10+
with "utilada_xml";
11+
with "utilada_curl";
12+
with "security";
13+
with "swagger";
14+
with "servletada";
15+
with "servletada_aws";
16+
-- with "servletada_ews";
17+
with "swagger_server";
18+
project defaultPackage is
19+
20+
for Object_Dir use "obj/";
21+
for Source_Dirs use ("src", "src/model", "src/server");
22+
for Main use ();
23+
24+
Build_AWS : Config.Yes_No := external ("BUILD_AWS", "yes");
25+
Build_EWS : Config.Yes_No := external ("BUILD_EWS", "no");
26+
27+
case Build_AWS is
28+
when "yes" =>
29+
for Main use Project'Main & ("_aws.adb");
30+
for Source_Dirs use Project'Source_Dirs & ("src/aws");
31+
32+
when others =>
33+
null;
34+
end case;
35+
36+
case Build_EWS is
37+
when "yes" =>
38+
for Main use Project'Main & ("_ews.adb");
39+
for Source_Dirs use Project'Source_Dirs & ("src/ews");
40+
41+
when others =>
42+
null;
43+
end case;
44+
45+
package Binder renames Config.Binder;
46+
package Builder renames Config.Builder;
47+
package Compiler renames Config.Compiler;
48+
package Linker renames Config.Linker;
49+
50+
end defaultPackage;
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
with Ada.IO_Exceptions;
2+
with Servlet.Server;
3+
with Swagger.Servers.Applications;
4+
with Util.Strings;
5+
with Util.Log.Loggers;
6+
with Util.Properties;
7+
with Util.Properties.Basic;
8+
with .Servers;
9+
procedure .Server (Server : in out Servlet.Server.Container'Class) is
10+
use Util.Properties.Basic;
11+
12+
CONFIG_PATH : constant String := ".properties";
13+
14+
Port : Natural := 8080;
15+
App : aliased Swagger.Servers.Applications.Application_Type;
16+
Log : constant Util.Log.Loggers.Logger := Util.Log.Loggers.Create (".Server");
17+
Props : Util.Properties.Manager;
18+
Config : Servlet.Server.Configuration;
19+
begin
20+
Props.Load_Properties (CONFIG_PATH);
21+
Util.Log.Loggers.Initialize (Props);
22+
23+
Port := Integer_Property.Get (Props, "swagger.port", Port);
24+
Config.Listening_Port := Port;
25+
App.Configure (Props);
26+
.Servers.Server_Impl.Register (App);
27+
28+
Server.Configure (Config);
29+
Server.Register_Application ("/v1", App'Unchecked_Access);
30+
App.Dump_Routes (Util.Log.INFO_LEVEL);
31+
Log.Info ("Connect your browser to: http://localhost:{0}/v1/ui/index.html",
32+
Util.Strings.Image (Port));
33+
34+
Server.Start;
35+
36+
delay 6000.0;
37+
38+
exception
39+
when Ada.IO_Exceptions.Name_Error =>
40+
Log.Error ("Cannot read application configuration file {0}", CONFIG_PATH);
41+
end .Server;

0 commit comments

Comments
 (0)