OAI / oascomply

Apache License 2.0
21 stars 5 forks source link

M2 Planning: Re-organize code and document the organization for future maintainers #34

Open handrews opened 1 year ago

handrews commented 1 year ago

Milestone 2 incudes cleanup, documentation, and unit testing of the code. With Milestone 1 successfully demo'd, it's clear that some code should be rearranged a bit, and unit tests written for the rearranged code.

Terminology: APID refers to API D(escription|efinition|ocument) in the (potentially) multi-document sense. An "OAS document" (probably small-d) refers to a single discrete element (file or network resource) within an OAS APID. Documentation should use "OAS APID" in most places, as there are other APID formats.

APID interface

Naming Conventions and coding style

Error handling

Document construction and access

URIs (and IRIs), [Relative] JSON Pointers, and Templates of all of these things

JSON Schema functionality

RDF Graph functionality

more tbd...

handrews commented 1 year ago

Some updates:

The above code organization changes are making the code a lot more testable and readable.