-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate properties for objects without schema (#3095)
Generate properties whenever there are objects without a schema (not only IFormFile or IFormFileCollection). Resolves #3094.
- Loading branch information
1 parent
5e65c23
commit c051ca6
Showing
7 changed files
with
298 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...wagger_GenerateConsumesSchemas_ForProvidedOpenApiOperationWithStringFromForm.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
Info: { | ||
Title: Test API, | ||
Version: V1 | ||
}, | ||
Paths: { | ||
/resource: { | ||
Operations: { | ||
Post: { | ||
OperationId: OperationIdSetInMetadata, | ||
RequestBody: { | ||
UnresolvedReference: false, | ||
Required: false, | ||
Content: { | ||
application/someMediaType: { | ||
Schema: { | ||
Type: object, | ||
ReadOnly: false, | ||
WriteOnly: false, | ||
Properties: { | ||
param: { | ||
Type: string, | ||
ReadOnly: false, | ||
WriteOnly: false, | ||
AdditionalPropertiesAllowed: true, | ||
Nullable: false, | ||
Deprecated: false, | ||
UnresolvedReference: false | ||
} | ||
}, | ||
AdditionalPropertiesAllowed: true, | ||
Nullable: false, | ||
Deprecated: false, | ||
UnresolvedReference: false | ||
}, | ||
Encoding: { | ||
param: { | ||
Style: Form | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
Deprecated: false | ||
} | ||
}, | ||
UnresolvedReference: false | ||
} | ||
}, | ||
Components: {}, | ||
HashCode: 7639B8A665AFC72F5C8D9ED02AA2E6416B9F82FDCC86D490FD248D3B657355F3993BD00384468E8D23DC0AC9FACECD425824F9596F6183EBDF974B9343CEDCF7 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters