Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kin0992 committed Jul 10, 2023
1 parent 06c6442 commit a48621a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domain/OpenAPISpec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { OpenAPI } from 'openapi-types';
export type OpenAPISpec = OpenAPI.Document;

/**
* TODO
* This type express the capability to parse an OpenAPI specification from an URL.
*/
export type OpenAPIParser = {
/**
* TODO
* Given an URL, parse the OpenAPI specification.
*/
parse: (url: string) => TE.TaskEither<Error, OpenAPISpec>;
};

0 comments on commit a48621a

Please sign in to comment.