-
Notifications
You must be signed in to change notification settings - Fork 10k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine service reference warnings and errors
- #12792 - client: - add error if OpenAPI file does not exist - separate unsupported TFM case from targets being called when disabled - server: - generalize multi-targeting handling in Microsoft.Extensions.ApiDescription.Server - add `$(_OpenApiGenerateDocumentsTFM)`, the TFM used when invoking inner build - default `$(OpenApiGenerateDocuments)` to 'true' only when a supported TFM exists - add separate error for non-existent cache file in `OpenApiGetDocuments` target - add error in `GetDocumentInsider` if no documents are found - make `<Warning />` in the targets file an `<Error />` - add more text to existing `ServiceNotFound` error - both: - write errors to `stderr` - clean up top-level output for `Exception`s - stop writing the `Message` twice * Correct "Open API" mentions; should be "OpenAPI" - change package tags and comments * Add service reference projects to MvcNoDeps.slnf nits: - add "service reference" tag in Microsoft.Extensions.ApiDescription.* packages - add "document generation" tag in Microsoft.Extensions.ApiDescription.Server package - `.Trim()` TFM properties because `<TargetFrameworks>;netcoreapp3.0;;</TargetFrameworks>` is allowed - don't use bold black for verbose messages - reorder MSBuild property settings for readability
- Loading branch information
Showing
13 changed files
with
151 additions
and
122 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
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
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
Oops, something went wrong.