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

Visual Studio Build Targets for OpenAPI Reference #1190

Merged
merged 27 commits into from
May 5, 2022
Merged

Visual Studio Build Targets for OpenAPI Reference #1190

merged 27 commits into from
May 5, 2022

Conversation

darrelmiller
Copy link
Member

@darrelmiller darrelmiller commented Feb 11, 2022

This enables Visual Studio to do compile time design generation when using the dotnet openapi tool https://docs.microsoft.com/en-us/aspnet/core/web-api/Microsoft.dotnet-openapi?view=aspnetcore-6.0

Issues #544

Also includes some additional tests because my branch management skills are poor.

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

the workflow needs to be updated to publish this package and do the code-sign + cred scan (compliance)

@sonarcloud
Copy link

sonarcloud bot commented Feb 11, 2022

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@baywet
Copy link
Member

baywet commented Mar 4, 2022

another aspect is taking a dependency onto kiota so it gets installed with that extension.
and another aspect is adding entries to this enum so the UI and the dotnet CLI can call this new extension. https://github.com/dotnet/aspnetcore/blob/main/src/Tools/Microsoft.dotnet-openapi/src/CodeGenerator.cs

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet baywet linked an issue May 4, 2022 that may be closed by this pull request
@baywet
Copy link
Member

baywet commented May 4, 2022

TODO:

  • rename the targets package to fall under Microsoft.OpenAPI
  • rename the kiota package name to fall under Microsoft.OpenAPI
  • add ADO workflow for both packages (with credscan, code sign etc...)
  • add/update adequate workflow for mcr.microsoft.com image
  • changelog entry

@baywet baywet marked this pull request as draft May 4, 2022 19:18
@baywet baywet assigned baywet and unassigned darrelmiller May 4, 2022
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
baywet added 4 commits May 5, 2022 09:04
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet
Copy link
Member

baywet commented May 5, 2022

baywet added 10 commits May 5, 2022 11:15
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
…g migration

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet
Copy link
Member

baywet commented May 5, 2022

Note: we're still missing the AME steps, pending on @ddyett approval for my group membership (MCR onboarders)

@baywet baywet marked this pull request as ready for review May 5, 2022 18:21
@sonarcloud
Copy link

sonarcloud bot commented May 5, 2022

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

88.6% 88.6% Coverage
0.0% 0.0% Duplication

@baywet baywet merged commit 8dba4cf into main May 5, 2022
@baywet baywet deleted the dm/vsext branch May 5, 2022 18:29
@baywet baywet added the generator Issues or improvements relater to generation capabilities. label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Issues or improvements relater to generation capabilities.
Projects
None yet
2 participants