Repository navigation
NUTCH-2932 Create OpenAPI specification for Nutch 1.x REST API - #896
Conversation
|
I pushed a commit to add a new step to lint and validate In an API-first development model, these items would be addressed before we do anything further. |
|
I put some more work into this PR and feel it is now ready for review. Here's a summary of the changes:
|
|
sebastian-nagel
left a comment
There was a problem hiding this comment.
Thanks, @lewismc! Looks good to me.
However, I feel not competent to review the OpenAPI spec itself.
Since we agreed in a discussion on dev@nutch to deprecate the Rest API (see also NUTCH-3165), please go forward and merge this PR!
|
@sebastian-nagel thanks for taking a look. I"ll update this PR and separate the |
|
PR updated limiting scope only to the OpenAPI spec and associated CI. |


This is a WIP I had on an old laptop and never pushed to my public Nutch mirror. My notes are that the OpenAPI spec didn't comply with the IBM/openapi-validator which is what I use(d) to lint and validate the OpenAPI specifications I work(ed) on over the years. I didn't have enough time/was side tracked by something or lots of other somethings and ultimately forgot about this branch altogether. I was surprised to find it.
I remember using the existing Java annotations and the Wiki documentation as resources for the OpenAPI. A few ex-colleagues also assisted in developing this branch.
It needs peer reviewed for completeness and updated to OpenAPI 3.1.X however this is a good foundation.
You can view the OpenAPI documentation if you copy and paste the content into https://editor.swagger.io/.
The goal would be to use the OpenAPI Generator project to generate a server implementation we could package either with Nutch or separately altogether.
I'm open to suggestions.