yarax/swagger-to-graphql

How to generate Authorization token for GraphQL?

scheung38 opened this issue · 1 comments

const customHeaders = {
Authorization: 'Basic xxxxx'
};

where to obtain xxxx token from?

Also since I am getting from the petstore.yaml example:
{
getPetById(petId: "1") {
}
}

Error: unable to verify the first certificate, so do I use the same authorization token from example or need to generate a new one? If so how to generate this?