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

[WIP] Refactor all #3

Closed
wants to merge 53 commits into from
Closed

[WIP] Refactor all #3

wants to merge 53 commits into from

Conversation

nasa9084
Copy link
Owner

@nasa9084 nasa9084 commented Nov 13, 2019

fixes: #2

@nasa9084 nasa9084 added the WIP Work in progress label Nov 13, 2019
@codecov
Copy link

codecov bot commented Nov 13, 2019

Codecov Report

Merging #3 into master will increase coverage by 10.50%.
The diff coverage is 83.98%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #3       +/-   ##
===========================================
+ Coverage   73.48%   83.98%   +10.50%     
===========================================
  Files          32        7       -25     
  Lines         777     2036     +1259     
===========================================
+ Hits          571     1710     +1139     
- Misses        136      163       +27     
- Partials       70      163       +93     
Impacted Files Coverage Δ
unmarshalyaml_gen.go 82.10% <82.10%> (ø)
resolve_gen.go 87.50% <87.50%> (ø)
errors.go 100.00% <100.00%> (+100.00%) ⬆️
runtime_expr.go 100.00% <100.00%> (ø)
semver.go 100.00% <100.00%> (ø)
unmarshalyaml.go 100.00% <100.00%> (ø)
validate.go 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45bf58d...3001343. Read the comment docs.

more impl

add test for isOneOf

add test for matchRuntimeExpr

update ci go version

fix to match to usecase

trim double quote when it is string

add testcases

remove old testcase

add testcases

fix interfaces

update goccy/go-yaml

add testdata

add an test with example

add test case and fix yaml name

add test cases

add test cases

add test for extension

fix field name

add test cases

install reviewdog

enable go mod

remove unused regexp

add test cases

comment-out broken test

the yaml example itself is broken

check unknown key

add log when generation

normalize getter name

skip generating inlined getter

add validateURLTemplate

add uspto example test

rename tests

upgrade go-yaml

clean up

rename test

add test with api_with_examples.yaml

wrap returning error

remove unused code

add test cases

add test cases

unuse %w verb fmt.Errorf

go generate

fix error test

add test cases

add test cases

fix validation

add testcases

not check there cannot be unknown key

add test cases

add test cases

add testcases

update goccy/go-yaml

add example test case

add codecov config

remove unreached code

add test cases

add test cases

header.in and header.name must not be specified

add testcases

replace errors to Error

add testcases

add testcases

do not check required parameter on reference object

parse $ref in advance

support inlined runtime expr key

support string-embedded runtime expr

rewrite IsRuntimeExpr

add testcases

add testcases

add testcase

add testcases

fix type

add testcases

add testcases

remove because PR#2042 is merged

add testcases

add testcases

add testcases

remove debug log

add testcases

add testcases

rename test

use ErrUnknownKey instead of errors.New

define Is method for each error type

make private concrete error types

use ErrRequired instead of errors.New

remove Is

change to const

add testcase

set root document to each object

ignore setroot_gen.go from coverage

split generator

add test

fix url parse error message

workaround: quote reference

fix multiline string parsing

fix error message on test

update goccy/go-yaml

quote when string

string begin with # treated as string by quoting

fix treating string

bump go version in testing to 1.14.x

move generator commands to internal package

remove debug line

add -show-src flag for generator commands

encapsulate show-src flag into generator

move travis ci to github actions

fix typo

update reviewdog and golangci-lint settings

update reviewdog config

change to use reviewdog/action-golangci-lint@v1

split github action

delete codecov ignore rules

define resolve

remove unused .reviewdog.yml

do not lint test files

2789-2831 lines are duplicate of `unmarshalyaml_test.go:2832-2874` (dupl)

exclude unmarshalyaml_test.go from dupl
@nasa9084 nasa9084 closed this Jul 2, 2021
@nasa9084 nasa9084 deleted the refactor-all branch July 2, 2021 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

need fix validation
1 participant