Skip to content

Implement setters for all configurations and HTTP's request methods #7

@manuelitox

Description

@manuelitox

I think could be a good idea to implement setters for all configurations and HTTP's request methods.

If we want to an API is prepare only to get providers list and create a new log:

import { Api } from "@xbyorange/mercury-api";

const catalog = new Api('/catalog-api')

catalog.only(['get', 'post'])

Also, we could apply this practice for tags:

import { Api } from "@xbyorange/mercury-api";

const catalog = new Api('/catalog-api')

catalog.tags(['external-api', 'internal-api'])

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions