https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35613
--- Comment #4 from Tomás Cohen Arazi (tcohen) <[email protected]> --- An update on the status of this report. What we have is this process for migrating: * Bundle the API spec (`yarn api:bundle` inside KTD should be enough) * Have VScode with the `openapi-lint` extension installed * Open the bundled spec in VSCode * Use Ctrl+shift+p/Cmd+shift+p to open the keyboard shortcuts menu * Choose OpenAPI 2.0 to 3.0.0 (YAML/Resolved) and get the spec converted This yields a new file. Then, inside KTD, you can run `redocly split` to get the API spec split the way it is in Koha right now, just v3. I'll provide a patch next week with the required changes to V1.pm. A good thing is that the `nullable: true` attribute and getting rid of the dual values we had in OpenAPI v2 is solved with this sequence. So that step is no longer required. It would be worth spending some time checking the options `redocy` provides for doing the sequence in the CLI. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
