This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/openapi: fix title handling regression
This regression was a result of forgetting to unskip the def_openapi test in the move to v0.3, which allowed the regression to be introduced by 304a3e0 to go unnoticed. This partially unwinds 304a3e0: it still assumes the main operation is based on Value, but if available, it also stores the Instance so that its meta information can be extracted. In principle all information available in the Instance is also available in the auxiliary structures of the Value (conjuncts). But for now this is an easier approach. The tests have a few changes as a result. The updated meta data is correct. Furthermore there are additional file comments at the top. It is debatable whether the latter is desirable or not, but we'll leave it for now, as it is the current behavior. Change-Id: Iaf40a9e525ff582e24ab4bc9fe690a40fa146559 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/9066 Reviewed-by: CUE cueckoo <[email protected]> Reviewed-by: Paul Jolly <[email protected]>
- Loading branch information
Showing
4 changed files
with
38 additions
and
18 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