Skip to content

Documentation: Publish OpenAPI Spec openly #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
timothytavarez opened this issue Apr 25, 2025 · 1 comment
Open
1 task done

Documentation: Publish OpenAPI Spec openly #629

timothytavarez opened this issue Apr 25, 2025 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@timothytavarez
Copy link

Contact Details

[email protected]

Overview of Change

I'm trying to implement and test Carbon Aware SDK. It has been a year since I last picked it up.

Correct me if I'm wrong, but in order to get a copy of the OpenAPI specification, I must:

  1. Clone the Git repository.
  2. Install .NET runtime. If using the latest supported .NET runtime, update the global.json with the correct version.
  3. Install required Swagger tooling.
  4. Execute build instructions.

See https://carbon-aware-sdk.greensoftware.foundation/docs/tutorial-basics/carbon-aware-webapi#autogenerate-webapi for current details.

Does this strike anyone else as a little silly in order to just get a OpenAPI spec? This could all be avoided by just publishing the file ... anywhere.

I want to use this project, and encourage its adoption, but I've just lost an hour of my time dealing with this due to local runtime issues and I'm no closer to a spec.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@timothytavarez timothytavarez added the documentation Improvements or additions to documentation label Apr 25, 2025
@danuw
Copy link
Collaborator

danuw commented Apr 28, 2025

Hi @timothytavarez,

For testing you can use this https://carbon-aware-api.azurewebsites.net/swagger/v1/swagger.yaml

We provide you with the steps so it can be done with whatever version you are going to deploy/interact with. (the above is just for quick testing and is not guaranteed to always be up).

Hope that unlocks you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants