Skip to content

Implement Parser interface for the swagger YAML file. #5

@ldmi3i

Description

@ldmi3i

Should be started after creation of interfaces and API definition model.
i.e. to #3 and #4

You need to implement next logic:

  1. Check that the file is swagger YAML file (maybe check version or some simple check)
  2. Parse content into API Definition.

I looks to me that method should have signature like this:
parse(content []byte) (*model.ApiSpecDoc, error)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions