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

- adds support for go snippets generation (#749) to master #785

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Conversation

baywet
Copy link
Member

@baywet baywet commented Nov 15, 2021

No description provided.

* - draft go snippets generation

Signed-off-by: Vincent Biret <[email protected]>

* - additional unit tests fixes for go snippets generation

Signed-off-by: Vincent Biret <[email protected]>

* - fixes object generation for go snippets

Signed-off-by: Vincent Biret <[email protected]>

* - code linting

Signed-off-by: Vincent Biret <[email protected]>

* - fixes debugging experience for API

* - adds go to the list of languages in snipet generation description

* - fixes a bug where empty bodies would be added for go generation, code linting

* - fixes a bug where openapi snippet generation would fail for old odata index format

* - fixes a bug where missing content type could derail go snippet generation
- fixes a bug where empty collections could derail go snippets generation

Signed-off-by: Vincent Biret <[email protected]>

* - replicates json payload tolerance change to CSharp and TypeScript snippets generators

* - fixes a bug where go snippets generation would fail on terminal slash
- fixes a bug where go snippets generation would fail on path casing
- fixes a bug where go snippets generation would fail on odata filter functions

Signed-off-by: Vincent Biret <[email protected]>

* - adds go to the list of snippets to generate

* - adds a bypass for go snippets generation to use openapi

Signed-off-by: Vincent Biret <[email protected]>

* - fixes supported languages validation

Signed-off-by: Vincent Biret <[email protected]>

* Update CodeSnippetsReflection.OpenAPI/LanguageGenerators/GoGenerator.cs

Co-authored-by: Eastman <[email protected]>

* Update CodeSnippetsReflection.OpenAPI/LanguageGenerators/GoGenerator.cs

Co-authored-by: Eastman <[email protected]>

* - code linting: removes constants

Signed-off-by: Vincent Biret <[email protected]>

* consistent whitespacing

Co-authored-by: Eastman <[email protected]>
Co-authored-by: Andrew Omondi <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

82.8% 82.8% Coverage
0.0% 0.0% Duplication

@baywet baywet enabled auto-merge November 15, 2021 16:09
Copy link
Member

@andrueastman andrueastman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@baywet baywet merged commit 7484918 into master Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants