Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core][go] Generate inline models that were not previously generated #3162

Closed
wants to merge 62 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
934272e
Add recursive inline model resolution skeleton code
fantavlik Apr 22, 2019
3611c9e
Refactor InlineModelResolver to reuse code and recurse into all inlin…
fantavlik Apr 24, 2019
d51d442
Fix some NPE
fantavlik May 15, 2019
e9d6477
Fix some test issues
fantavlik Jun 17, 2019
50a215e
More test fixes
fantavlik Jun 17, 2019
36046cb
Fix tests
fantavlik Jun 17, 2019
c165748
Add complex inline test
fantavlik Jun 17, 2019
091d48a
Merge branch 'master' of github.com:OpenAPITools/openapi-generator in…
fantavlik Jun 17, 2019
9b755b0
Fix tests after merge
fantavlik Jun 17, 2019
12926b8
Regenerate Go samples
fantavlik Jun 17, 2019
2013fd8
Fix go enum prefixes and support numeric enums
fantavlik Jun 17, 2019
fe78602
Fix pet api go test
fantavlik Jun 17, 2019
f115185
Change schema name resolution such that titles are namespaced.
fantavlik Jul 31, 2019
8d5f6e0
Add resolveInlineEnums generation option.
fantavlik Jan 21, 2020
3ed693f
Remove cli option
fantavlik Jan 21, 2020
1601acd
Merge commit '6af27d52caf8f61351ac761c8dc5f69d6fc7bc91' into inline-r…
fantavlik Jan 21, 2020
838656d
Fix tests after merge and regenerate
fantavlik Jan 21, 2020
6ff4ea8
Fix go tests
fantavlik Jan 21, 2020
877454f
Fix go tests
fantavlik Jan 22, 2020
1b9f3cf
Kick off ci
fantavlik Jan 22, 2020
3eea049
Address case of null operationId
fantavlik Jan 23, 2020
e17425c
Update all samples
fantavlik Jan 23, 2020
823419b
Merge remote-tracking branch 'origin/master' into fantavlik-inline-re…
jimschubert Apr 19, 2020
abec0eb
Fix testUseOneOfInterfaces()
fantavlik May 24, 2020
769a515
Fix testFormParameterHasDefaultValue()
fantavlik May 24, 2020
284142f
Fix testGetSchemaTypeWithComposedSchemaWithOneOf()
fantavlik May 24, 2020
9458d2e
Merge branch 'oa-master' into inline-resolver
fantavlik May 24, 2020
31dc600
Fix extension nameing in testUseOneOfInterfaces()
fantavlik May 24, 2020
5881551
Remove negative assertions for testComposedSchema*OfDiscriminatorMap(…
fantavlik May 24, 2020
4727fb8
Regenerate
fantavlik May 25, 2020
f25d765
Merge branch 'inline-resolver' into inline-resolver-merge
fantavlik May 25, 2020
db4f7f2
Change inline models to use PascalCase rather than underscores to mat…
fantavlik May 25, 2020
5276d43
Regenerate
fantavlik May 25, 2020
fdcbdbe
Merge commit '14c14bf9a2f4cc399529d76ef0ed8f5a7296f0a9' into inline-r…
fantavlik Aug 15, 2020
104e564
Test fixes
fantavlik Aug 16, 2020
ca6ecc6
Regenerate samples
fantavlik Aug 16, 2020
5bd338f
Add legacyGoEnumNaming flag to preserve original model names for Go e…
fantavlik Aug 30, 2020
9cf7a4c
Revert "Add legacyGoEnumNaming flag to preserve original model names …
fantavlik Sep 12, 2020
f9d8093
Pull enumClassPrefix logic out of Go templates and into AbstractGoCod…
fantavlik Sep 12, 2020
d62ffa7
Minor rework of prefixAllowableValues logic
fantavlik Sep 12, 2020
fdccb10
Merge commit '8fad36c8987a9c2b1b234649905d6c3db5109018' into inline-r…
fantavlik Sep 12, 2020
8935994
Update samples
fantavlik Sep 12, 2020
49dda8b
Merge commit 'f30d6c8399905d0cc2c2e89a264d396ca5bc998c' into inline-r…
fantavlik Oct 24, 2020
9c99eb0
Post-merge fixes
fantavlik Oct 24, 2020
b71ff5b
Add comment
fantavlik Dec 5, 2020
4aa0655
Merge commit 'a4f1d1b5b1c3054d60ba02db6211da781f48acb1' into inline-r…
fantavlik Dec 5, 2020
48c70d5
Fix tests
fantavlik Dec 5, 2020
bffdb39
Regenerate samples
fantavlik Dec 5, 2020
f80f197
Remove unused import
fantavlik Dec 5, 2020
4cebd4a
Circumvent issue #3870 for python-aiohttp by commenting out file type…
fantavlik Dec 5, 2020
bff73f4
Update python-aiohttp-srclayout config and samples as well.
fantavlik Dec 5, 2020
50f56a1
Two samples updates
fantavlik Dec 6, 2020
64c46ad
Attempt to fix php tests
fantavlik Dec 6, 2020
03c3d1b
Revert php samples
fantavlik Dec 6, 2020
4569cbe
Regenerate and fix Ruby samples
fantavlik Dec 20, 2020
4fbbcf2
Merge commit '206f698a98de60d3afbde1aed65c6dfb3422e408' into inline-r…
fantavlik Dec 20, 2020
e27ea43
Revert merge changes
fantavlik Dec 20, 2020
20fdd95
Add back ruby sample pom file
fantavlik Dec 20, 2020
0d67e23
Update ruby client samples
fantavlik Dec 20, 2020
fbffb85
Remove offending jersey2-java8 samples, these were stale samples
fantavlik Dec 21, 2020
b305d6d
Update samples
fantavlik Dec 21, 2020
55aee26
More samples fixes
fantavlik Dec 21, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add back ruby sample pom file
  • Loading branch information
fantavlik committed Dec 20, 2020
commit 20fdd95a55b06cb5a219f32adbb8bc2ae4cbc9d5
62 changes: 62 additions & 0 deletions samples/client/petstore/ruby-faraday/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.openapitools</groupId>
<artifactId>RubyPetstoreFaradayClientTests</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<name>Ruby OpenAPI Faraday Petstore Client</name>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>bundle-install</id>
<phase>pre-integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bundle</executable>
<arguments>
<argument>install</argument>
<argument>--path</argument>
<argument>vendor/bundle</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>bundle-test</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>bundle</executable>
<arguments>
<argument>exec</argument>
<argument>rspec</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>