lutaml-openapi 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad581ff1c7456f7e88e4af91f4f892717bb7fbb6a2f68827d0907c89b2f7953e
4
- data.tar.gz: b1040b6060939fe563fd04b5cc930dd5d153fc71a2c7440722b98a7b2579205a
3
+ metadata.gz: bd0b3748e1a17b1c1e12c44faee3933af70f79a458ef4c66bd938bc13d734c5c
4
+ data.tar.gz: bc44fb62c7cb8089a880f5e830ad9f4080c6ab0f526a2f5de55467f161f2b071
5
5
  SHA512:
6
- metadata.gz: 2b0eee7727ed4887d93766ab900e97943fac7c48119370df15546e1c6c7424b943368f5ef60903ec445eead9163e5b33c34da52bc9f8869bb6c0cef20ab72c99
7
- data.tar.gz: 477b656af79dfce0a195c6d0f394b796d75e79d45fce90ad1e10000ab3160333158daba2301f2ee73f7d7867bbe4e0877ddbdca51c268f2595c5dc1c418e89ca
6
+ metadata.gz: 4ac1bd5486db46b7a6e4a2b7adc3726c562f55cfb7e88342c818b11e96d1bff13ec0a5edde4e4c0ccbd1a91a8f29adae7774f6c3557bd62af9ae7ea5e7e0c664
7
+ data.tar.gz: 2454b6e92ac7dcc413465fbc9701349956b43d8c0abc491ae7b6c1dc62b0f1c9b67450dcde474c6d254bc46ba8b43bd81f11a642232bffbab21bda6de6220221
data/CLAUDE.md ADDED
@@ -0,0 +1,40 @@
1
+ # CLAUDE.md
2
+
3
+ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4
+
5
+ ## What this is
6
+
7
+ `lutaml-openapi` parses OpenAPI 3.0/3.1 documents into lutaml-model objects and generates a single-file SPA documentation site from them. It is the model layer for model-based OpenAPI standards (metanorma-ogc#153); `metanorma-plugin-openapi` renders these models into Metanorma documents.
8
+
9
+ ## Commands
10
+
11
+ ```sh
12
+ bundle exec rspec # full suite (corpus golden included)
13
+ bundle exec rspec spec/openapi_spec.rb # one file
14
+ bundle exec rubocop # lint (-a to autofix; .rubocop_todo.yml holds baselined offenses)
15
+ bundle exec rake # spec + rubocop + frontend:audit (axe; needs Chrome, skips cleanly without)
16
+
17
+ cd frontend && npm test # vitest (frontend i18n suite)
18
+ cd frontend && npm run build # vite build → frontend/dist
19
+ ```
20
+
21
+ `frontend/dist/` and `Gemfile.lock` are gitignored. `frontend/dist/` must exist for the SPA generator; the rake gate audits the generated site when Chrome is present. The rake CI does NOT build the frontend — a green CI says nothing about the SPA; run `npm ci && npm run build` locally to verify frontend changes.
22
+
23
+ ## Architecture
24
+
25
+ - **`Lutaml::Openapi.parse`** stores the document **verbatim** — every parsed section is kept exactly as the source carried it (3.0 dialects included), so both wire serializations (`to_json`, `to_hash`) round-trip losslessly with no emit-time transform. `source_dialect` tracks the frontend used.
26
+ - **`Document#schemas`** is the typed view: it materializes `Lutaml::Jsonschema::Schema` models, applying `Oas30.normalize` per schema for 3.0 sources (nullable → null-union, exclusive bounds folded). That view is the only place the 3.0 frontend runs.
27
+ - **`Oas30`** normalizes 3.0 schema nodes into the 3.1 shape as a pure hash walk. There is no denormalization — do not add emit-time transforms; losslessness is structural.
28
+ - Unmapped root keys (vendor `x-*`, stray sections like `definitions`) ride the `extensions` catch-all and re-emit verbatim.
29
+ - **`CorpusAudit`** (lib/lutaml/openapi/corpus_audit.rb) asserts the wire round trip for every fixture in `spec/fixtures/` — 19 OGC API OAS documents. New fixtures are picked up automatically; validate Gemfile changes with a local `bundle lock` before shipping.
30
+ - **`Spa`** inlines `frontend/dist` with `window.OPENAPI_DATA` into a standalone `index.html`; dist enters the gem only at release time (the release train builds it).
31
+
32
+ ## CI/release
33
+
34
+ - `.github/workflows/rake.yml` builds the frontend (`after-setup-ruby`) so green lanes validate the SPA.
35
+ - `release.yml` is self-contained (RubyGems Trusted Publishing is registered against THIS repo's workflow): dispatch with `next_version=patch|minor|major|x.y.z`. It bumps the version, builds the dist, publishes, and tags.
36
+
37
+ ## Frontend
38
+
39
+ - All UI strings flow through the typed catalog `frontend/src/i18n/messages.ts` (`en` + `ar`); a missing key in a locale is a type error. The header locale switch mirrors `lang`/`dir` onto `<html>` (RTL without a second stylesheet); `?locale=ar` boots into a locale.
40
+ - Layout uses CSS logical properties; the axe audit gates both the LTR and Arabic RTL renders.
data/README.md CHANGED
@@ -1,9 +1,43 @@
1
1
  # Lutaml::Openapi
2
2
 
3
- OpenAPI 3.0/3.1 as a lossless lutaml-model — the model layer for
4
- model-based OpenAPI standards (see PLAN.md for the program; closes
5
- metanorma/metanorma-ogc#153's model layer).
3
+ OpenAPI 3.0/3.1 as a lossless [lutaml-model](https://github.com/lutaml/lutaml-model)
4
+ object graph — the model layer for model-based OpenAPI standards
5
+ (metanorma-ogc#153).
6
6
 
7
- ## Status
7
+ ```ruby
8
+ require "lutaml/openapi"
8
9
 
9
- Scaffold. Milestones and acceptance criteria live in [PLAN.md](PLAN.md).
10
+ doc = Lutaml::Openapi.parse(File.read("ogcapi-features-1.yaml"))
11
+ doc.openapi # => "3.1.0"
12
+ doc.source_dialect # => "3.1" (or "3.0" for normalized-on-read sources)
13
+ doc.info["title"] # => "OGC API - Features - Part 1: Core"
14
+ doc.paths # => { "/collections" => { "get" => { ... } } }
15
+ doc.to_json # lossless re-serialization
16
+ ```
17
+
18
+ ## Losslessness
19
+
20
+ The document is stored **verbatim**: every parsed section is kept exactly as
21
+ the source carried it, unmodeled keywords (vendor `x-*`, stray root sections)
22
+ re-emit on serialization via `map_unmapped`, and the wire round trip
23
+ (`parse → to_json`) is asserted losslessly for the **full 19-document OGC API
24
+ corpus** vendored in `spec/fixtures` — 3.0 and 3.1 dialects, YAML and JSON.
25
+ 3.0 documents need no denormalization pass; see the architecture notes in
26
+ [CLAUDE.md](CLAUDE.md).
27
+
28
+ ## Typed schema view
29
+
30
+ `Document#schemas` materializes `components.schemas` as
31
+ `Lutaml::Jsonschema::Schema` objects — 3.0 dialect semantics normalize into
32
+ the 3.1 shape here (`nullable: true` becomes the null-member type union,
33
+ `exclusiveMinimum: true` folds into the bound). This is the view
34
+ [metanorma-plugin-openapi](https://github.com/metanorma/metanorma-plugin-openapi)
35
+ renders from.
36
+
37
+ ## SPA
38
+
39
+ `Lutaml::Openapi::Spa.generate(doc)` builds a standalone single-file
40
+ documentation site (Vue bundle + document data inlined). The frontend ships
41
+ an en+ar locale switch with RTL layout and passes an axe AA audit in CI.
42
+
43
+ See [PLAN.md](PLAN.md) for the program plan.
@@ -20,8 +20,7 @@
20
20
  "terser": "^5.46.2",
21
21
  "typescript": "^5.3.0",
22
22
  "vite": "^8.3.5",
23
- "vitest": "^5.0.5",
24
- "vue-tsc": "^2.0.0"
23
+ "vitest": "^5.0.5"
25
24
  }
26
25
  },
27
26
  "node_modules/@asamuzakjp/css-color": {
@@ -713,35 +712,6 @@
713
712
  "url": "https://opencollective.com/vitest"
714
713
  }
715
714
  },
716
- "node_modules/@volar/language-core": {
717
- "version": "2.4.15",
718
- "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.15.tgz",
719
- "integrity": "sha512-3VHw+QZU0ZG9IuQmzT68IyN4hZNd9GchGPhbD9+pa8CVv7rnoOZwo7T8weIbrRmihqy3ATpdfXFnqRrfPVK6CA==",
720
- "dev": true,
721
- "license": "MIT",
722
- "dependencies": {
723
- "@volar/source-map": "2.4.15"
724
- }
725
- },
726
- "node_modules/@volar/source-map": {
727
- "version": "2.4.15",
728
- "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.15.tgz",
729
- "integrity": "sha512-CPbMWlUN6hVZJYGcU/GSoHu4EnCHiLaXI9n8c9la6RaI9W5JHX+NqG+GSQcB0JdC2FIBLdZJwGsfKyBB71VlTg==",
730
- "dev": true,
731
- "license": "MIT"
732
- },
733
- "node_modules/@volar/typescript": {
734
- "version": "2.4.15",
735
- "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.15.tgz",
736
- "integrity": "sha512-2aZ8i0cqPGjXb4BhkMsPYDkkuc2ZQ6yOpqwAuNwUoncELqoy5fRgOQtLR9gB0g902iS0NAkvpIzs27geVyVdPg==",
737
- "dev": true,
738
- "license": "MIT",
739
- "dependencies": {
740
- "@volar/language-core": "2.4.15",
741
- "path-browserify": "^1.0.1",
742
- "vscode-uri": "^3.0.8"
743
- }
744
- },
745
715
  "node_modules/@vue/compiler-core": {
746
716
  "version": "3.5.44",
747
717
  "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.44.tgz",
@@ -804,48 +774,12 @@
804
774
  "@vue/shared": "3.5.44"
805
775
  }
806
776
  },
807
- "node_modules/@vue/compiler-vue2": {
808
- "version": "2.7.16",
809
- "resolved": "https://registry.npmjs.org/@vue/compiler-vue2/-/compiler-vue2-2.7.16.tgz",
810
- "integrity": "sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==",
811
- "dev": true,
812
- "license": "MIT",
813
- "dependencies": {
814
- "de-indent": "^1.0.2",
815
- "he": "^1.2.0"
816
- }
817
- },
818
777
  "node_modules/@vue/devtools-api": {
819
778
  "version": "6.6.4",
820
779
  "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz",
821
780
  "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==",
822
781
  "license": "MIT"
823
782
  },
824
- "node_modules/@vue/language-core": {
825
- "version": "2.2.12",
826
- "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.2.12.tgz",
827
- "integrity": "sha512-IsGljWbKGU1MZpBPN+BvPAdr55YPkj2nB/TBNGNC32Vy2qLG25DYu/NBN2vNtZqdRbTRjaoYrahLrToim2NanA==",
828
- "dev": true,
829
- "license": "MIT",
830
- "dependencies": {
831
- "@volar/language-core": "2.4.15",
832
- "@vue/compiler-dom": "^3.5.0",
833
- "@vue/compiler-vue2": "^2.7.16",
834
- "@vue/shared": "^3.5.0",
835
- "alien-signals": "^1.0.3",
836
- "minimatch": "^9.0.3",
837
- "muggle-string": "^0.4.1",
838
- "path-browserify": "^1.0.1"
839
- },
840
- "peerDependencies": {
841
- "typescript": "*"
842
- },
843
- "peerDependenciesMeta": {
844
- "typescript": {
845
- "optional": true
846
- }
847
- }
848
- },
849
783
  "node_modules/@vue/reactivity": {
850
784
  "version": "3.5.44",
851
785
  "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.44.tgz",
@@ -907,13 +841,6 @@
907
841
  "node": ">=0.4.0"
908
842
  }
909
843
  },
910
- "node_modules/alien-signals": {
911
- "version": "1.0.13",
912
- "resolved": "https://registry.npmjs.org/alien-signals/-/alien-signals-1.0.13.tgz",
913
- "integrity": "sha512-OGj9yyTnJEttvzhTUWuscOvtqxq5vrhF7vL9oS0xJ2mK0ItPYP1/y+vCFebfxoEyAz0++1AIwJ5CMr+Fk3nDmg==",
914
- "dev": true,
915
- "license": "MIT"
916
- },
917
844
  "node_modules/assertion-error": {
918
845
  "version": "2.0.1",
919
846
  "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
@@ -934,13 +861,6 @@
934
861
  "node": ">=4"
935
862
  }
936
863
  },
937
- "node_modules/balanced-match": {
938
- "version": "1.0.2",
939
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
940
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
941
- "dev": true,
942
- "license": "MIT"
943
- },
944
864
  "node_modules/bidi-js": {
945
865
  "version": "1.1.0",
946
866
  "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.1.0.tgz",
@@ -951,16 +871,6 @@
951
871
  "require-from-string": "^2.0.2"
952
872
  }
953
873
  },
954
- "node_modules/brace-expansion": {
955
- "version": "2.1.7",
956
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz",
957
- "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==",
958
- "dev": true,
959
- "license": "MIT",
960
- "dependencies": {
961
- "balanced-match": "^1.0.0"
962
- }
963
- },
964
874
  "node_modules/buffer-from": {
965
875
  "version": "1.1.2",
966
876
  "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
@@ -1019,13 +929,6 @@
1019
929
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
1020
930
  }
1021
931
  },
1022
- "node_modules/de-indent": {
1023
- "version": "1.0.2",
1024
- "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz",
1025
- "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==",
1026
- "dev": true,
1027
- "license": "MIT"
1028
- },
1029
932
  "node_modules/decimal.js": {
1030
933
  "version": "10.6.0",
1031
934
  "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz",
@@ -1118,16 +1021,6 @@
1118
1021
  "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
1119
1022
  }
1120
1023
  },
1121
- "node_modules/he": {
1122
- "version": "1.2.0",
1123
- "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
1124
- "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
1125
- "dev": true,
1126
- "license": "MIT",
1127
- "bin": {
1128
- "he": "bin/he"
1129
- }
1130
- },
1131
1024
  "node_modules/html-encoding-sniffer": {
1132
1025
  "version": "6.0.0",
1133
1026
  "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-6.0.0.tgz",
@@ -1476,29 +1369,6 @@
1476
1369
  "dev": true,
1477
1370
  "license": "CC0-1.0"
1478
1371
  },
1479
- "node_modules/minimatch": {
1480
- "version": "9.0.9",
1481
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
1482
- "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
1483
- "dev": true,
1484
- "license": "ISC",
1485
- "dependencies": {
1486
- "brace-expansion": "^2.0.2"
1487
- },
1488
- "engines": {
1489
- "node": ">=16 || 14 >=14.17"
1490
- },
1491
- "funding": {
1492
- "url": "https://github.com/sponsors/isaacs"
1493
- }
1494
- },
1495
- "node_modules/muggle-string": {
1496
- "version": "0.4.1",
1497
- "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.4.1.tgz",
1498
- "integrity": "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==",
1499
- "dev": true,
1500
- "license": "MIT"
1501
- },
1502
1372
  "node_modules/nanoid": {
1503
1373
  "version": "3.3.20",
1504
1374
  "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz",
@@ -1544,13 +1414,6 @@
1544
1414
  "url": "https://github.com/inikulin/parse5?sponsor=1"
1545
1415
  }
1546
1416
  },
1547
- "node_modules/path-browserify": {
1548
- "version": "1.0.1",
1549
- "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",
1550
- "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==",
1551
- "dev": true,
1552
- "license": "MIT"
1553
- },
1554
1417
  "node_modules/picocolors": {
1555
1418
  "version": "1.1.1",
1556
1419
  "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -2028,13 +1891,6 @@
2028
1891
  "@jridgewell/sourcemap-codec": "^1.6.0"
2029
1892
  }
2030
1893
  },
2031
- "node_modules/vscode-uri": {
2032
- "version": "3.2.0",
2033
- "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.2.0.tgz",
2034
- "integrity": "sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==",
2035
- "dev": true,
2036
- "license": "MIT"
2037
- },
2038
1894
  "node_modules/vue": {
2039
1895
  "version": "3.5.44",
2040
1896
  "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.44.tgz",
@@ -2097,23 +1953,6 @@
2097
1953
  "vue": "^3.5.0"
2098
1954
  }
2099
1955
  },
2100
- "node_modules/vue-tsc": {
2101
- "version": "2.2.12",
2102
- "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.2.12.tgz",
2103
- "integrity": "sha512-P7OP77b2h/Pmk+lZdJ0YWs+5tJ6J2+uOQPo7tlBnY44QqQSPYvS0qVT4wqDJgwrZaLe47etJLLQRFia71GYITw==",
2104
- "dev": true,
2105
- "license": "MIT",
2106
- "dependencies": {
2107
- "@volar/typescript": "2.4.15",
2108
- "@vue/language-core": "2.2.12"
2109
- },
2110
- "bin": {
2111
- "vue-tsc": "bin/vue-tsc.js"
2112
- },
2113
- "peerDependencies": {
2114
- "typescript": ">=5.0.0"
2115
- }
2116
- },
2117
1956
  "node_modules/w3c-xmlserializer": {
2118
1957
  "version": "5.0.0",
2119
1958
  "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz",
@@ -22,7 +22,6 @@
22
22
  "terser": "^5.46.2",
23
23
  "typescript": "^5.3.0",
24
24
  "vite": "^8.3.5",
25
- "vitest": "^5.0.5",
26
- "vue-tsc": "^2.0.0"
25
+ "vitest": "^5.0.5"
27
26
  }
28
27
  }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Lutaml
4
4
  module Openapi
5
- VERSION = "0.1.3"
5
+ VERSION = "0.1.5"
6
6
  end
7
7
  end
data/script/axe_audit CHANGED
@@ -67,15 +67,22 @@ dir = Dir.mktmpdir("axe-audit")
67
67
  document = Lutaml::Openapi.parse(File.read(DOCUMENT))
68
68
  File.write(File.join(dir, "index.html"), Lutaml::Openapi::Spa.generate(document))
69
69
 
70
- page = File.join(dir, "index.html")
70
+ # an empty document must boot and stay accessible too: a JS crash on
71
+ # missing sections would otherwise ship and only surface in production
72
+ empty = Lutaml::Openapi.parse("{}")
73
+ File.write(File.join(dir, "empty.html"), Lutaml::Openapi::Spa.generate(empty))
74
+
71
75
  File.write(File.join(dir, "audit.html"),
72
- File.read(page).sub("</body>", "#{INJECT}\n</body>"))
76
+ File.read(File.join(dir, "index.html")).sub("</body>", "#{INJECT}\n</body>"))
77
+ File.write(File.join(dir, "audit-empty.html"),
78
+ File.read(File.join(dir, "empty.html")).sub("</body>", "#{INJECT}\n</body>"))
73
79
 
74
- # both locales gate: the default LTR render and the Arabic RTL render
75
- # (the mirrored layout must stay accessible)
80
+ # gate matrix: both locales on the real document (the mirrored layout
81
+ # must stay accessible), plus the empty document in the default locale
76
82
  VARIANTS = [
77
- { label: "en", query: "" },
78
- { label: "ar (rtl)", query: "?locale=ar" },
83
+ { label: "en", page: "audit.html", query: "" },
84
+ { label: "ar (rtl)", page: "audit.html", query: "?locale=ar" },
85
+ { label: "empty doc", page: "audit-empty.html", query: "" },
79
86
  ].freeze
80
87
 
81
88
  failed = false
@@ -83,7 +90,7 @@ failed = false
83
90
  VARIANTS.each do |variant|
84
91
  dom, err, status = Open3.capture3(
85
92
  chrome, "--headless=new", "--disable-gpu", "--virtual-time-budget=20000",
86
- "--dump-dom", "file://#{File.join(dir, 'audit.html')}#{variant[:query]}"
93
+ "--dump-dom", "file://#{File.join(dir, variant[:page])}#{variant[:query]}"
87
94
  )
88
95
  abort "axe audit: Chrome failed: #{err[0, 400]}" unless status.success?
89
96
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lutaml-openapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-10-31 00:00:00.000000000 Z
11
+ date: 2026-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.8.122
47
+ version: 0.8.159
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.8.122
54
+ version: 0.8.159
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: yeptris
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -76,6 +76,7 @@ extra_rdoc_files: []
76
76
  files:
77
77
  - ".rubocop_todo.yml"
78
78
  - CHANGELOG.md
79
+ - CLAUDE.md
79
80
  - CODE_OF_CONDUCT.md
80
81
  - LICENSE.md
81
82
  - PLAN.md