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

Support resource types that aren't quite "really" resources #3525

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

matthchr
Copy link
Member

@matthchr matthchr commented Nov 7, 2023

They have a HEAD rather than a GET and no body parameters

If applicable:

  • this PR contains documentation
  • this PR contains tests

@matthchr
Copy link
Member Author

matthchr commented Nov 7, 2023

This is related to #3398

@matthchr matthchr added this to the v2.4.0 milestone Nov 7, 2023
@matthchr
Copy link
Member Author

matthchr commented Nov 7, 2023

/ok-to-test sha=45cf1a3

@matthchr matthchr self-assigned this Nov 7, 2023
Copy link
Member

@theunrepentantgeek theunrepentantgeek left a comment

Choose a reason for hiding this comment

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

Your check for top level Spec and Status types is flawed, but otherwise this is good.

Copy link
Member

@theunrepentantgeek theunrepentantgeek left a comment

Choose a reason for hiding this comment

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

Removing my Request Changes so you're not blocked addressing this before I'm available tomorrow morning.

@theunrepentantgeek theunrepentantgeek modified the milestones: v2.4.0, v2.5.0 Nov 14, 2023
@matthchr matthchr force-pushed the feature/empty-body-resources branch from 45cf1a3 to e2b484c Compare November 17, 2023 23:51
@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2023

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (1009d02) 53.10% compared to head (88a5e04) 53.12%.

Files Patch % Lines
...nerator/internal/jsonast/swagger_type_extractor.go 0.00% 10 Missing ⚠️
...tools/generator/internal/codegen/code_generator.go 0.00% 2 Missing ⚠️
.../codegen/embeddedresources/remove_empty_objects.go 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3525      +/-   ##
==========================================
+ Coverage   53.10%   53.12%   +0.01%     
==========================================
  Files        1286     1286              
  Lines      402000   402010      +10     
==========================================
+ Hits       213496   213570      +74     
+ Misses     157888   157828      -60     
+ Partials    30616    30612       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthchr
Copy link
Member Author

/ok-to-test sha=e2b484c

They have a HEAD rather than a GET and no body parameters
@matthchr matthchr force-pushed the feature/empty-body-resources branch from e2b484c to 88a5e04 Compare November 21, 2023 17:00
@matthchr
Copy link
Member Author

/ok-to-test sha=88a5e04

@matthchr matthchr added this pull request to the merge queue Nov 21, 2023
Merged via the queue into Azure:main with commit bd90009 Nov 21, 2023
8 checks passed
@matthchr matthchr deleted the feature/empty-body-resources branch November 21, 2023 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants