File tree Expand file tree Collapse file tree
openapi-processor-core-parser-openapi4j/src/main/kotlin/io/openapiprocessor/core/parser/openapi4j
openapi-processor-core-parser-swagger/src/main/kotlin/io/openapiprocessor/core/parser/swagger Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class Path(
2424 override fun getOperations (): List <ParserOperation > {
2525 val ops: MutableList <ParserOperation > = mutableListOf ()
2626
27- HttpMethod .values() .map {
27+ HttpMethod .entries .map {
2828 val op = info.getOperation(it.method)
2929 if (op != null ) {
3030 ops.add (Operation (it, op, info, refResolver))
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Path(
2525 override fun getOperations (): List <ParserOperation > {
2626 val ops: MutableList <ParserOperation > = mutableListOf ()
2727
28- HttpMethod .values() .map {
28+ HttpMethod .entries .map {
2929 val op = info.getOperation(it.method)
3030 if (op != null ) {
3131 ops.add (Operation (it, op, info, refResolver))
You can’t perform that action at this time.
0 commit comments